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! It's time to submit your entry. Live now!
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! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 128 | |
| 102 | |
| 57 | |
| 39 | |
| 31 |