BookmarkSubscribeRSS Feed
Olaaaaaa
Calcite | Level 5
Hi, if someone could help me, Please!!

I have a summary table with three analysis-variables in top of the table and three class-variables in the left in the table. What I know so far is that you can only sort on class-variables, but that is not enough for me. I have made a "sort-report" on one of my analysis-variables beforer the summary tables, but that does not help me either.

There must be a way to get the data sorted (descending order) by one of the analysis variables, but how do you do??

Olaaaa
1 REPLY 1
LinusH
Tourmaline | Level 20
If your analysis variable is not FREQ-based, I don't think you can do this in PROC SUMMARY/MEANS. You could output your summary to a table, sort it the way you want, and then make a report using PROC PRINT...

/Linus
Data never sleeps

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 937 views
  • 0 likes
  • 2 in conversation