Starting from the following example of PROC REPORT:
data test(keep=state industry income);
set sashelp.prdsale;
State=region;
Industry=prodtype;
Income=actual;
run;
proc report data=TEST;
COLUMN STATE INDUSTRY INCOME ;
DEFINE STATE/display GROUP;
DEFINE industry/display GROUP ;
DEFINE INCOME /ANALYSIS sum;
run;
If I delete the "GROUP" option I get the display of all the rows:
proc report data=TEST;
COLUMN STATE INDUSTRY INCOME ;
DEFINE STATE/display ;
DEFINE industry/display;
DEFINE INCOME /ANALYSIS sum;
run;
I would like to be able to display all the values of "State", without having the multiplication of rows. It's possible?
I would like to get the following report:
State Industry Income
EAST FURNITURE 146471
EAST OFFICE 223790
WEST FURNITURE 144154
WEST OFFICE 215922