Hi, I have a scenario i want to do grouping in two different ways and get the result in one table. PROC TABULATE DATA=TEST OUT = TOTAL ( WHERE=(TOTAL_SUM NE .) RENAME=(AMT_SUM=TOTAL_SUM) DROP=_TABLE_ _PAGE_ _TYPE_ ); CLASS STATE CITY COUNTY ; VAR AMT; TABLE STATE * (CITY ALL) , AMT *SUM /printmiss; TABLE STATE * (CITY * COUNTY ALL) , AMT *SUM /printmiss; RUN; In the result table Total what i want to have is grouping the amount on STATE and CITY and Later on STATE ,CITY and COUNTY.but i am not getting the right result. Can you let me know wether any changes to the approach
... View more