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! It's time to submit your entry. Live now!
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.
| User | Count |
|---|---|
| 51 | |
| 43 | |
| 41 | |
| 15 | |
| 12 |