Help using Base SAS procedures

Proc Tabulate - treating only one class variable as descending

Reply
N/A
Posts: 0

Proc Tabulate - treating only one class variable as descending

I see that one can say /descending on a Class Statement in Proc Tabulate. However, all variables in the class statement are ordered descending. I want only one variable - the date - to be ordered descending. Other than to trick sas with a format, is there a way?

Thanks,
Teresa
Super User
Posts: 11,343

Re: Proc Tabulate - treating only one class variable as descending

Posted in reply to deleted_user
Use multiple class statements. You can have as many as you like:

Class var1 / order=data;
Class var2 / order=descending;
Class var3 / order=formatted;
N/A
Posts: 0

Re: Proc Tabulate - treating only one class variable as descending

Things I never knew! Many many thanks!
Ask a Question
Discussion stats
  • 2 replies
  • 105 views
  • 0 likes
  • 2 in conversation