DATA Step, Macro, Functions and more

dynamic sas reports

Reply
Occasional Contributor
Posts: 9

dynamic sas reports

I want to create a dynamic sas report that prints out multiple metics by 1, 2 or 3 segmentation variables. Is there a way to write one proc print and then make seperate calls to print out a report for 1, 2 or 3 seg vars?

 

I could just concatinate all of the segmentation variables.  Is there another option?

Trusted Advisor
Posts: 1,204

Re: dynamic sas reports

Sample data along with desired output please?

Occasional Contributor
Posts: 9

Re: dynamic sas reports

report 1

 

x  var1-var10

 

report 2

x y var1-var10

 

report 3

 

x y z var1-var10

Super User
Posts: 17,750

Re: dynamic sas reports

Please post more details, as much as possible. Fake data and demo output are great.  

 

Otherwise, yes, SAS can generate dynamic reports 10 different ways. Search lexjansen.com.

Ask a Question
Discussion stats
  • 3 replies
  • 170 views
  • 0 likes
  • 3 in conversation