ODS EXCEL FILE="/mypoath/myfile.xlsx" options(
frozen_headers="3"
sheet_name="#byval1");
PROC TABULATE data=out;
BY byVariable;
CLASS varA varB;
TABLES varA, varB;
RUN;
ODS EXCEL CLOSE;
The code above creates an excel-file with different sheets. There is one sheet for each value of the variable byVariable
. Is there a way to create an additional sheet "ALL" which contains the results for all values of the byVariable
together? I mean something like "ALL" (used in the TABLES-section). I tried BY ALL byVar
already (which doesn't work).
Thanks for help!