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 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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!