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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi everyone,
I have created a calendar table (see screenshot) linked to a paramater to change the way data is displayed.
With this formula, my columns "MonthYear" and "Year" are date format and "WeekYear" and "QuarterYear" text format because of the letters.
I alredy customized a bit the formula so that my weeks can be sorted ascending without having 2005 W1, 2005 W10 and so on.
The only problem I have now is that when I use "WeekYear" or "QuarterYear", the default sorting will be set on the Y axis resulting in not viewing the data in a chronological order:
(using "YearQuarter")
VS using "YearMonth"
Is there a way to set or change the default sorting order of a visual?
Solved! Go to Solution.
Hi @mattcha
Are you sorting your visual in ascending and descending order than for date table maybe it won't work.
So instead of that try sorting the column "YearQuarter" and "YearMonth" using Year or Month column in the data view.
For example,
Like I was able to see Month Name in order in Data view but when i plot month name in any visual it will show in random way for that i have sorted month name column using month.
Best Regards.
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hi @mattcha ,
If sort by column doesn't work. You can try using rankx, to sort your values.
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @mattcha
Are you sorting your visual in ascending and descending order than for date table maybe it won't work.
So instead of that try sorting the column "YearQuarter" and "YearMonth" using Year or Month column in the data view.
For example,
Like I was able to see Month Name in order in Data view but when i plot month name in any visual it will show in random way for that i have sorted month name column using month.
Best Regards.
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.