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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
AbSyed
New Member

PowerBI sorting legend for barchart

Hi all, i am making a visual where i would like to sort the legend in descending order, meaning the biggest bar on the left and so on. as i am new to powerBi would really appreciate help on this. 

AbSyed_0-1725549974806.png

 

3 REPLIES 3
AbSyed
New Member

@Greg_Deckler i tried it but, it doesnt sort it based on the x axis values, is there a way i can make the legend to sort in descending order accoding to the x-axis values ? 

 

Thanks 

@AbSyed To the best of my knowledge no. It is literally the #4 most requested feature and is currently "Planned" https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=6b6f5485-3c57-4584-96dc-42be252595eb

 

That said, it's been "Planned" for almost 2 years and at the current pace of Power BI Desktop development you might expect it 15-20 years from now.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Community Champion
Community Champion

@AbSyed Select the visual. Select the ellipses ( ... ) in the upper right corner. That is where you will find your sort options. However, depending on the configuration of tha tvisual, you may not have any sort options available. Also, I don't believe under any circumstances that it allows you to sort the legend by the actual value of the data but only by the legend (alphabetical)



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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