Forum Discussion

UK_User123456's avatar
UK_User123456
Resolver I
7 years ago
Solved

Financial Year

Hi All,   How would I go about finding out the Finanacial years based on a date. My financial reporting starts on the 4th Apr and ends 31st Mar. I have a column of dates that range from 2001 to 201...
  • evandrocunico's avatar
    evandrocunico
    7 years ago

    Hi, UK_User123456 

     

    FY = var __fy = if(ISBLANK(DimDate[Date]);BLANK(); if (MONTH(DimDate[Date]) >= 4; YEAR(DimDate[Date])&"/"&YEAR(DimDate[Date])+1;YEAR(DimDate[Date])-1&"/"&YEAR(DimDate[Date])))
    return __fy
     
    regards.