BookmarkSubscribeRSS Feed
ShivamKS
Obsidian | Level 7

Is there a possibility to order the stack bars in descending order based on their height(i.e. highest to lowest) . Example as shown in the screenshot want the bar to be syncronised on the basis of their height from highest to lowest value. Please share the detailed steps if possible.

2 REPLIES 2
skillman
SAS Employee

Unfortunately not. Once you add a category to the group field, and set the chart to group the data, you loose the ability to sort by a measure.

-shawn

ballardw
Super User

Since the screen shot isn't showing its a bit hard to see what you want. There are examples in the online help of using an Annotate dataset to create a simple barchart from scratch. Not slick but since you a sending the draw commands you can control the color of any given rectangle explicitly. Of course with this approach you have to do the same to get a legend. If you want to display stacks with the groups in different orders from one bar to the next this may be the general approach though.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 2 replies
  • 933 views
  • 0 likes
  • 3 in conversation