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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a multi-row matrix and want to sort in 3 specific ways but do not know if power bi can acheive this.
CATEGORY A 40 (total)
APRIL 30
MAY 1
JUNE 9
CATEGORY B 30
APRIL 10
MAY 19
JUNE 1
I would like to sort the categories in alphabetical order, the total orders in descinding order, but keep the months in the correct order. Whenever i sort by the first two, the months are not sorted correctly (even though i have a sort by column setup for this column.)
Thank you!
Solved! Go to Solution.
Hi @thampton ,
You may convert the Matrix visual to Table visual first of all, then click on the Header Column [Category] to adjust it ASC order (note : you may press Left Click in the meantime to adjust order to opposite order), press Shift + Left Click on the column [Month] to adjust it ASC order, then press Shift + Left Click on the column [Order sales] to adjust it DESC order. After that, you may convert the Table visual to Matrix visual.
For reference:
How To Sort A Table Using Multiple Columns In Power BI
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @thampton ,
You may convert the Matrix visual to Table visual first of all, then click on the Header Column [Category] to adjust it ASC order (note : you may press Left Click in the meantime to adjust order to opposite order), press Shift + Left Click on the column [Month] to adjust it ASC order, then press Shift + Left Click on the column [Order sales] to adjust it DESC order. After that, you may convert the Table visual to Matrix visual.
For reference:
How To Sort A Table Using Multiple Columns In Power BI
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@thampton , make sure month has sort column for the correct order
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
@amitchandak I have the sort by column set up already. I think the sorting gets messed up when i sort the orders column in descinding order. It also sorts the months by the order total as well.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |