Forum Discussion
To Sort by FY
- 4 years ago
Hi Anonymous ,
Try to create a sort column:sort = IF(AND( YEAR('Table'[Date])=YEAR(TODAY())-1 ,MONTH('Table'[Date])>3) || AND( YEAR('Table'[Date])=YEAR(TODAY()) , MONTH('Table'[Date])<4),format(YEAR('Table'[Date])*100+MONTH('Table'[Date]),"000000"),RIGHT('Table'[FY],4))Change the format of this column to whole number,then sort FY-Month by this column.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous ,
Month Year = FORMAT([Date],"mmm-yyyy")
Month Year sort = if(month([Date]) <=4, (YEAR([Date]) -1)*100 + month([Date]) +9, (YEAR([Date]) )*100 + month([Date]) -3)
Sort month year of month year sort
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
- Anonymous4 years agoNot applicable
Hi,
Thank you for your response.
My FY_Month Column contains the following value and I want to sort that
It Includes the year too. Once the current FY ends it will change into 2021-22 and then it should start with Apr for the next year. That query is working fine, But I can't sort the month.
Please help.
TIA