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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Microsoft Employee
Microsoft Employee

Sort on the basis of legend values and date hierarchy



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.





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.

Helpful resources

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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