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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ModernHand
Frequent Visitor

PowerBi hierarchy sort multiple levels

Hello, 

 

I need some help, with sorting in the MATRIX table and hierarchy.
I am out of IDEAS. 

So the thing is I need different order, TOP level should be sorted by TOTAL(sum till date slicer selected).

Second Level by Alphabetical, and the third by date or same as the second level. Alphabetical.

I urgently need help! Please, someone! I will remember you by the end of time and I will put you into the Hall Of Fame


4 REPLIES 4
virkmasood
New Member

It would be best if you create a key table defining logical ordering and a relationship with the original column, then perform sorting of the table with key values scale (Sunday 1, Monday 2....)

Check Link: https://www.seerinteractive.com/insights/reorder-powerbi-legend?amp=1

croberts21
Continued Contributor
Continued Contributor

In the matrix click the column header that you want to sort first. Then hold SHIFT and click other columns to sort by those. When you publish the report to the PBI Service/website the sort will be saved, but I believe users can still change the sort if they also click the column headers. 

This works for table but not for matrix 😞

amitchandak
Super User
Super User

@ModernHand , one you sort the first-row column, all other columns will follow the same. The way control is sort column. Create a sort column for your requirement. How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.