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 cannot figure out why my graphs are not sorting correctly. I've created a DateDim table, marked the table as a date table, and sorted it by date, but I can't get my graphs to sort correctly. Please find the screenshots below. Thank you!
I've marked the table as a Date Table, and sorted it ascending by the date.
Hi @Scout
You're chart is ordered by a text value on the x-axis. To sort correctly (by date) you need to create a new numeric column in your Date Table then set the MonthID column to sort by that.
To create the column you can use this
YearMM = FORMAT([Date], "YYYYMM")
Then select the MonthID column and click on Sort by Column in the Ribbon and choose the new YearMM column.
regards
Phil
Proud to be a Super User!
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 | |
| 46 |