0
集团
后我SAS的新用户,并试图PROC报告,SAS PROC报告订购
filename exer2 '~/201207Hac.csv';
data work.exercise2;
infile exer2 dlm="," firstobs=2;
input Type $ Region $ Country $ City $ Imp Exp Ts;
run;
proc report data = work.exercise2 nowd headline headskip;
where type = "M";
column Region Imp;
define Region/group 'REGION';
run;
输出有两个柱与地区和进出口值对应的总和。
我想尝试define Imp/Order;
但失败。
虽然我想排序imp下降。我怎么能做到这一点? 谢谢
嗨@ jj72uk,第二个选项。 /有语法错误。我不确定是否因为我在使用大学版? – useR 2014-09-30 07:58:47
@useR你有哪个版本的SAS?帮助>关于 – jaymarvels 2014-09-30 08:12:42
我使用大学版SAS工作室3.2 – useR 2014-09-30 08:16:29