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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Asd123
Microsoft Employee
Microsoft Employee

Sort on the basis of legend values and date hierarchy

Hi,

 

Consider a below Clustered column chart, On X-axis there is a date hierarchy (years, months and quarters) and on Y-axis there are counts of various categories from the same column of the table. We want to sort by descending on the basis of Y-axis category counts for each month separately.  

For example: for August month it should be sorted as 5,5,3,3,2,2,2,2,1 and display the bars accordingly.  It should be applicable to all the date ranges we took on X-axis at a same time.

Please let me know how to achieve this.

 

Thanks in advance.

 

Asd123_2-1694498624212.png

 

 

1 REPLY 1
CoreyP
Solution Sage
Solution Sage

I don't think this sort option is available as a default, but I believe a workaround from another post from a few days ago could be used. https://community.fabric.microsoft.com/t5/Desktop/Can-the-Column-Sequence-within-a-Matrix-visual-be-...

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