【发布时间】:2014-09-30 15:52:07
【问题描述】:
我是 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;
输出有两列包含 REGION 和对应的 Imp 值总和。
我想尝试define Imp / Order; 但失败了。
虽然我想按降序对小鬼进行排序。我怎样才能做到这一点? 谢谢
【问题讨论】:
标签: sas proc-report