Hi: Without data, no one can run or tweak your code. When PROC REPORT does ordering, it orders the items from left to right (the same as PROC SORT). So when you list VAR first and then TIME, the result is that the report is ordered by TIME within VAR. If you want the order to be different you have to switch the order of VAR and TIME in the COLUMN statement so that TIME is first. Cynthia
SAS INNOVATE 2024
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.