Hello,
I want to use PRINTMISS when I do proc tabulate. But I dont get it to work.
How should I write it out?
Here is my code:
options byline;
ods excel file="c" style=sasweb
options(sheet_interval="none" sheet_name="Country_states" suppress_bylines="off");
PROC TABULATE
DATA=state_list;
VAR year2019 year15_18 difference;
CLASS State / ORDER=UNFORMATTED MISSING;
CLASS gender / ORDER=UNFORMATTED MISSING;
CLASS age / ORDER=UNFORMATTED MISSING;
CLASS weeks/ ORDER=UNFORMATTED MISSING;
by state;
TABLE /* Row Dimension */
/*state={LABEL=''},*/
weeks=''* (year2019*F=6. *sum=''
year15_18*F=6.* sum=''
difference*F=6. *sum=''
)
,
/* Column Dimension */
gender={LABEL=''}*age={LABEL=''}
;
RUN;
ods excel close;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.