Forum Discussion
maurcoll
Helper IV
2 years agoFinancial Year Title
Hi
I have created a column in my date table for fiscal/financial year. I want the label to show as 22/23 etc. at the minute it is only showing 2023. Is there a way of doing this please. Calculation as below
VAR FirstFiscalMonth = 4
RETURN
IF (
'Calendar'[ MonthNo] >= FirstFiscalMonth,
Calendar'[Year] + 1,
Calendar'[Year]
)
Hi maurcoll,
Please try this code:VAR FirstFiscalMonth = 4 VAR FicalYear = IF ( 'Calendar'[ MonthNo] >= FirstFiscalMonth, RIGHT('Calendar'[Year],2) &"/"& RIGHT('Calendar'[Year] + 1,2), RIGHT('Calendar'[Year]-1,2) &"/"& RIGHT('Calendar'[Year],2) ) RETURN FicalYear