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
Hi all,
Is it possible to sort data in a matrix from newest to oldest?
Opposed to oldest to newest - as shown below.
thanks,
Hi @HenryJS ,
Have you checked the suggestion by @amitchandak ?Is your issue solved now?
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
@v-kelly-msft I haven't been able to change the order yet. Is there a simple way to do this within Power BI?
Hi @HenryJS ,
Sorry for the late reply!
First create 2 columns as below:
DateNumber=DAY('Table'[Dates])Rank= MAX('Table'[DateNumber])-'Table'[DateNumber]
Then duplicate the dates column;
Finally select the duplicate column >sort by>Rank;
And you will see:
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
@HenryJS ,
Create in your date table
Date 1 = Date
Date Rank = rankx(all(Date), Date[Date],,desc,dense)
Sort Date1 and on Date Rank and use Date 1 in your visual
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |