BookmarkSubscribeRSS Feed
bjordan
Calcite | Level 5

I have a bar graph that uses both a category (School_Name) and a group (School_Category).   If I use just the category (School_Name), I get a graph that look close to what I need, where the school with the most is the tallest bar on the left and things get smaller as you go to the right.  The user wants to color code the bars based on the school category.  I can get the color coding by adding School_Category to the Group role, but then the sort sequence is changed to alphabetic by school name, and the sort option is no longer available.  How do I get the bars to sort in descending Y-Axis order while keeping the color coding benefit of the group column/option.  See attached for examples of what I'm seeing.

 

Thanks

 

1 REPLY 1
KeithM
SAS Employee

I created this SAS Sample that provides a workaround.   http://support.sas.com/kb/59/480.html

 

 

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1499 views
  • 1 like
  • 2 in conversation