Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Stacked bar chart: How to sort legend by value?

Hi,

 

I'd like to sort the stack bar by value (from the longest to the shortest), not alphabetically. I seacehd some old posts but none of them work.  

 

please help!

Stack bar chart.PNG

 
 
3 REPLIES 3
VasTg
Memorable Member
Memorable Member

@Anonymous 

 

Isn't it already sorted based on the measure in Value?

Connect on LinkedIn
Anonymous
Not applicable

No, it's not by value.

 

If it's sort by value, the stack bar will be sort from the longest to the shortest, take the first bar as an example, the value will be 8,4,1,1.

hi @Anonymous 

It is not supported to implement your demand that sort legend by values from longest to the shortest separately in Power BI currently. You could sort 
There is an idea about this issue, please vote it up to improve the Power BI.

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.