The SAS Output Delivery System and reporting techniques

conditional printing of cloumn with proc report

Reply
N/A
Posts: 0

conditional printing of cloumn with proc report

Hi everyone.
I have weird requirement which is troubling me a lot.

i am making report using proc report.
i am printing 3 variables(columns) across each value of across variable.

but now i want to put a condition for few values in across variable that if those are values then i will print only 2 variables across it.

can we use noprint option for _c3_ types of columns ..

please help.

thank you
Super Contributor
Posts: 394

Re: conditional printing of cloumn with proc report

PROC REPORT doesn't support this functionality. I think your best bet is to pre-process your data and conditionally eliminate the column (perhaps with a view?) before running PROC REPORT.
N/A
Posts: 0

Re: conditional printing of cloumn with proc report

Hi Tim,
thnx for reply.

I have come up with a solution ..
thanks to nozero option in proc report..... Smiley Happy

just before proc report i wrote a small datastep.
it that i made the values = 0 for the selected across variable values.

and it worked fine..

Regards
Avi
Ask a Question
Discussion stats
  • 2 replies
  • 122 views
  • 0 likes
  • 2 in conversation