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

Get Fabric certified for FREE! Don't miss your chance! 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
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.