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,
I have a date table which I created like this:
which is a date hierachy
I have my year filter on filter on all pages:
the sort oder is from the oldest year to the latest.
How can I change the sort oder?
So it will start with 2023 and end with 2015.
Thanks in advance!
Solved! Go to Solution.
@Companyuser101 , Prefer to create a date table and use year column
year = year([Date])
year Rank = rankx(Date, Date[Year],,desc,dense)
Mark year rank as sort column for year and use that
you can create a custom hierarchy if needed
How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c
@Companyuser101 , Prefer to create a date table and use year column
year = year([Date])
year Rank = rankx(Date, Date[Year],,desc,dense)
Mark year rank as sort column for year and use that
you can create a custom hierarchy if needed
How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c
Hello,
thank you!
Your recommondation + the youtube Tutorial solved my problem!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 61 | |
| 46 | |
| 40 | |
| 38 | |
| 22 |
| User | Count |
|---|---|
| 176 | |
| 131 | |
| 118 | |
| 82 | |
| 54 |