Help using Base SAS procedures

Suppressing labels in Proc Freq

Accepted Solution Solved
Reply
Contributor
Posts: 59
Accepted Solution

Suppressing labels in Proc Freq

Hello-

 

   I'm running a 2-way crosstab in Proc Freq and am dumping the output into Excel using the ODS HTML output options. Proc Freq always pads the output with two columns.

 

The first column has this information in it:

 

"Frequency 

Percent 

Row Pct 

Col Pct"

 

While the second column is blank.

 

What are the options that will suppress these two columns?

 

Thank you.


Accepted Solutions
Solution
‎03-06-2016 04:33 PM
Community Manager
Posts: 2,761

Re: Suppressing labels in Proc Freq

A similar question was asked in this thread.  The recommendation: you could use PROC TABULATE (or REPORT) instead for more control of your report appearance.

View solution in original post


All Replies
Community Manager
Posts: 2,761

Re: Suppressing labels in Proc Freq

You could try the LIST or CROSSLIST options on the TABLES statement to see if that gets you close to what you want.

Contributor
Posts: 59

Re: Suppressing labels in Proc Freq

Thanks for the tip on the CROSSLIST option. That solved another question I had. But it doesn't fix my original question. I still need the suppressing options for the two columns.

Solution
‎03-06-2016 04:33 PM
Community Manager
Posts: 2,761

Re: Suppressing labels in Proc Freq

A similar question was asked in this thread.  The recommendation: you could use PROC TABULATE (or REPORT) instead for more control of your report appearance.

Contributor
Posts: 59

Re: Suppressing labels in Proc Freq

Reluctantly good suggestion. Thanks.

☑ This topic is SOLVED.

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

Discussion stats
  • 4 replies
  • 398 views
  • 2 likes
  • 2 in conversation