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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.