data have;
input ID $ a_cnt $ b_cnt $ month $ L_1 $ L_2 $ Dum;
datalines;
1 2 1 jan A1 b1 0
2 0 0 feb a2 b2 0
3 1 0 mar a1 b2 0
4 0 1 jan a2 b3 0
;
proc print data=have;
proc tabulate data=have;
class l_1 l_2 month;
var a_cnt;
table l_1*l_2, (month all='Total')*(a_cnt='')*(sum='');
run; i am trying to use tabulate to produce a table like below... but i am not able to acheive the same. any help much appreciated.
... View more