Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello!
I made a hierarchy using the Path Function and when I used it to the Matrix table, it automatically sorts alphabetically. Is there a way for the hierarchy to NOT sort alphabetically? I fixed my item ID since I'm assuming that the sort will follow the item ID but it does not.
The sort by item ID is important because it's already arranged in my desired sort.
Thanks!
Solved! Go to Solution.
@crln-blue , You need to sort the column by ID. Please select the colum you want to sort and under column tools, you will find the option to do so.
Please note: Both the columns should be in the same table.
Did I solve your problem?
If yes, please mark my solution Accepted!
I finally saw this feature. I noticed that in the report view, I need to highlight the column to be sorted and the button will appear where I can set which sort column to be used. Thanks!
@crln-blue , You can create a sort column and use that.
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column
Hello @amitchandak ,
Thanks for the link. I tried it but I think the column that will be used for sorting should also be on my visual. Unfortunately, I can't try the other method because my table is a DAX table.
@crln-blue , You need to sort the column by ID. Please select the colum you want to sort and under column tools, you will find the option to do so.
Please note: Both the columns should be in the same table.
Did I solve your problem?
If yes, please mark my solution Accepted!
I finally saw this feature. I noticed that in the report view, I need to highlight the column to be sorted and the button will appear where I can set which sort column to be used. Thanks!
Hello @Anonymous ,
I tried the method you told me but it's still not reflecting. I didn't add the column on the visual since I don't need it. I just want it to be sorted in that way.
My data is like this:
My expected output
Ouput from Matrix Table
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 112 | |
| 109 | |
| 40 | |
| 33 | |
| 27 |