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

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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