BookmarkSubscribeRSS Feed
BillB
Fluorite | Level 6


I have an output table that has Company Codes (Rows) and data (Currency) in a column.

I want to be able to show in the Summary Report the Currency column in Descending or Ascending order without using re-coding as an option.

Any ideas?

Bill

4 REPLIES 4
Reeza
Super User

So you want the data ordered by the counts? Eg, top dollar groups first or last?

I think you can go to the code, preview code and modify the code. Add ORDER=FREQ  the proc tabulate line.

I don't see an option to do that in EG 4.3, perhaps that's changed in later versions though. 

Reeza
Super User

Unfortunately that controls the Class levels, not based on the data values in the report.

For example with Cars and descending option on make (analysis variable= mpg(city))

TomKari
Onyx | Level 15

Which task are you using to create the report?

Tom

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 4 replies
  • 1863 views
  • 0 likes
  • 4 in conversation