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
Hello together
How can I implement sorting in descending (2) order by date in a matrix form date table (1)?
Sorting in the table tools has no effect.
THX for help.
Solved! Go to Solution.
Hi @thebeginner1204 ,
Based on your description, you might consider adding an index column.
My Sample:
1.In the Power Query Editor,click on 'Index Column' on the Add column tab after sorting your table in descending order by Date column.
2.Click on the Date field in the Field pane and do the following:
Result is as below.
For further details,please find attachment.
Best Regards,
Yulia Yan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @thebeginner1204 ,
Based on your description, you might consider adding an index column.
My Sample:
1.In the Power Query Editor,click on 'Index Column' on the Add column tab after sorting your table in descending order by Date column.
2.Click on the Date field in the Field pane and do the following:
Result is as below.
For further details,please find attachment.
Best Regards,
Yulia Yan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@thebeginner1204 Maybe this will work:
- Create a Date1 column in your date table: Date1 = 'Date Table'[Date]
- Create a Sort column in your date table: Sort = RANKX ( ALL ( 'Date Table' ), 'Date Table'[Date],, DESC, Dense )
- Sort the Date1 column by the Sort column, then use the Date1 column in your matrix
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |