Forum Discussion
dynamic custom sort on month
- 3 years ago
use the rankx measure for each sort order column:
How to sort by multiple columns in Power BI [Table Visual Examples] - SPGuides
but unfortunately we still cant hide columns in the chart! lol, have to use formatting 😞
vgt56gyr2 , You can create a new sort column
if(month([Date]) <=6, month([Date]) +6, month([Date]) -6)
and you can mark it as sort column for MMM or MM
Creating Financial Calendar - From Any Month
https://community.powerbi.com/t5/Community-Blog/Creating-Financial-Calendar-Decoding-Date-and-Calendar-1-5-Power/ba-p/1187441
https://medium.com/chandakamit/cheat-sheet-calendar-of-any-standard-month-just-one-variable-apart-5ee47de6a208
https://amitchandak.medium.com/cheat-sheet-power-query-financial-year-calendar-5ceaacb520f1
Hi, it doesn't really answer my question.
I already have a sort order column for these custom periods.
how can the axis be sorted in the correct order by user selection?
- vnl33 years agoFrequent Visitor
Did you ever find a solution to your question?
- vgt56gyr23 years agoFrequent Visitor
no, but would like to.
- vgt56gyr23 years agoFrequent Visitor
use the rankx measure for each sort order column:
How to sort by multiple columns in Power BI [Table Visual Examples] - SPGuides
but unfortunately we still cant hide columns in the chart! lol, have to use formatting 😞