Forum Discussion

WillTickel's avatar
WillTickel
Frequent Visitor
9 years ago
Solved

Fiscal Year Calculated Columns

I'm certain there's a more elegant (and correct) way of doing this, but I'm trying to create a calculated column which gives each date a corresponding fiscal year label e..g "FY16/17" The formula ...
  • v-ljerr-msft's avatar
    9 years ago

    Hi WillTickel,

     

    Based on my test, the formula below should also work in your scenario.:smileyhappy:

     

    Financial Year =
    VAR fy =
        IF (
            MONTH ( 'Dates'[Dates] ) <= 3,
            VALUE ( FORMAT ( 'Dates'[Dates], "YY" ) ) - 1,
            VALUE ( FORMAT ( 'Dates'[Dates], "YY" ) )
        )
    RETURN
        CONCATENATE ( "FY", CONCATENATE ( fy, CONCATENATE ( "/", fy + 1 ) ) )
    

     

    Regards