Hello,
I need to use proc sgpanel to create horizontal bar for my numerical variable for each category at different years.
Everything works fine except an issue in the way how categories are ordered in plot.
I created another numerical variable to reorder my categories but again the plot is not changed.
I would like to see some suggestions related to this problem.
Thanks.
First, please go back and edit your subject line so that it contains a brief description of the actual problem. This helps everyone, especially if someone else has a similar problem to yours.
In PROC SGPANEL use the GROUPORDER= option.
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.