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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
rpinxt
Solution Sage
Solution Sage

Can you have a sort order

So I have this graph and I sorted it by period:

rpinxt_0-1646910474504.png

Would it be possible now to sort also the legend with the highest percentages first?

So in this case this would start with the yellow one.

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

There is no guarantee that the yellow is always the highest.

 

You can break the bars into individual measures and then add these separately to the values. That allows you to specify the order of appearance - at the cost of totally losing the visual's flexibility.

View solution in original post

Anonymous
Not applicable

Hi @rpinxt ,

 

You will need to create measures for each color instead of using legend.

Then you would sort the chart by specific measure.

However you still can't get it to automatically sort by the highest value, because they are not from the same measure.

And you can't guarantee that yellow will always be the highest value.

 

Best Regards,

Jay

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @rpinxt ,

 

You will need to create measures for each color instead of using legend.

Then you would sort the chart by specific measure.

However you still can't get it to automatically sort by the highest value, because they are not from the same measure.

And you can't guarantee that yellow will always be the highest value.

 

Best Regards,

Jay

Ok thanks guys.

So bottom line there is no easy/good way to do this and its best to leave it as is 😉

lbendlin
Super User
Super User

There is no guarantee that the yellow is always the highest.

 

You can break the bars into individual measures and then add these separately to the values. That allows you to specify the order of appearance - at the cost of totally losing the visual's flexibility.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors