Help using Base SAS procedures

PROC TABULATE suppressing the n count rows

Accepted Solution Solved
Reply
Super Contributor
Posts: 286
Accepted Solution

PROC TABULATE suppressing the n count rows

Is it possible to suppress the rows that show the n count? I only want percentages

 

Code:

ods pdf file='fakepath.pdf';
proc tabulate data=one;
where elatook ne '';
class efagrade /*school*/;
class elalev1 elalev2;
tables elalev1='Literary Text'*(n*f=6.0 pctn<elalev1>='PCT'*f=6.0) all='TOTAL'*(n*f=6.0)
elalev2='(LT)Meaning/Context'*(n*f=6.0 pctn<elalev2>='PCT'*f=6.0) all='TOTAL'*(n*f=6.0)
efagrade='Grade' all='Total' /rts=25 misstext='0' printmiss;
format elalev1-elalev2 perf.;
run;
ODS pdf close;


Accepted Solutions
Solution
‎08-17-2017 01:27 PM
Super User
Posts: 23,752

Re: PROC TABULATE suppressing the n count rows

What happens if you remove the N from the code below?

View solution in original post


All Replies
Solution
‎08-17-2017 01:27 PM
Super User
Posts: 23,752

Re: PROC TABULATE suppressing the n count rows

What happens if you remove the N from the code below?

Super Contributor
Posts: 286

Re: PROC TABULATE suppressing the n count rows

I feel a tad foolish.

Super User
Posts: 23,752

Re: PROC TABULATE suppressing the n count rows

I will never forget SAS tech supports to some really stupid mistakes I made in my code when I first started programming in SAS:

"I've never seen it done that way before, but I think what you're trying to do is ... " 

 

Incredibly polite of them and didn't make me feel like a fool!

We've all been there Smiley Happy

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 209 views
  • 3 likes
  • 2 in conversation