This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register 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.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 9 | |
| 5 | |
| 5 |