The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!