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.
Hi,
Thank you for your quick response.
I have created the column
based on the columns below
Hi, Anonymous
Please check this example:
https://www.dropbox.com/s/o20j4ej8t4kc0bv/FY-Month%20sort%28allure-analytics.com%29.pbix?dl=0
I suggest that you have a Calendar table with Date column (calendar date).
You should probably have Year column (number format) and Month number (1 for Jan, etc) - number format
You need to create a Fiscal Year and Fiscal month number calculated columns based on this.
Did I answer your question? Please Like and Mark my post as a solution if it solves your issue. Thanks.
Appreciate your Kudos !!!