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