The SAS Output Delivery System and reporting techniques

Proc Report: supress output of a field

Reply
Not applicable
Posts: 0

Proc Report: supress output of a field

Hello,

I need to pull a column into proc report for computation only, but I don't want it displayed in the final report. Is this possible?

As an example, I have a report with 3 columns, week1, week2, week3.

week1=20, week2=50, week3=100. I only want to display week2 and week3 in the report, but I need week1 to compute the percentage of change from the previous week, IE, the percentage of change from week1 to week2 (without having week1 display in proc report).

Thx,

Scott
Super User
Posts: 3,914

Re: Proc Report: supress output of a field

Posted in reply to deleted_user
Check out the NOPRINT option on the REPORT DEFINE statement:

define example / sum NOPRINT 'Example Not Printed';
Not applicable
Posts: 0

Re: Proc Report: supress output of a field

That did the trick, thanks!!!
Ask a Question
Discussion stats
  • 2 replies
  • 169 views
  • 0 likes
  • 2 in conversation