BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Chris_LK_87
Quartz | Level 8

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;

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User
PRINTMISS is an option of TABLE.

proc tabulate......
...........
table ............/ printmiss;
run;

View solution in original post

1 REPLY 1
Ksharp
Super User
PRINTMISS is an option of TABLE.

proc tabulate......
...........
table ............/ printmiss;
run;

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1055 views
  • 0 likes
  • 2 in conversation