Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
I have this Matrix Table that was built. I need it to be sorted most to least recent, as opposed to how it is right now.
I can sort by row if I use the more options button but not by column. Any help is much appreciated. Thank you.
Solved! Go to Solution.
Hi @abraine
Since Power BI does not allow direct sorting of columns in a Matrix, follow these steps:
Option 1: Create a Sort Order Column using RANKX
Option 2: Use "Sort by Column" in the Modeling Tab
Note: If your date hierarchy is enabled in the matrix, try removing the hierarchy and using the raw date column.
If this response was helpful, please accept it as a solution and give kudos to support other community members
Hi @abraine
Since Power BI does not allow direct sorting of columns in a Matrix, follow these steps:
Option 1: Create a Sort Order Column using RANKX
Option 2: Use "Sort by Column" in the Modeling Tab
Note: If your date hierarchy is enabled in the matrix, try removing the hierarchy and using the raw date column.
If this response was helpful, please accept it as a solution and give kudos to support other community members
Add a sort column to your table, sort the dates column by that column. That will automatically render the column headers in the desired order.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 14 | |
| 9 | |
| 9 | |
| 6 | |
| 5 |