Forum Discussion

lennox25's avatar
lennox25
Icon for Post Patron rankPost Patron
4 years ago

Working out Financial Week Number 2019/20 and beyond

Hi - I wonder if anyone can help. I have created a column to work out financial week number with week 1 starting in April. This has worked fine. However can anyone help me as to why Financial week number is Apr 2019 AND March 2020 for the financial year 2019/20?

I used this calculation - 

Financial Week No =
VAR WeekNumber = WEEKNUM('operations Date_Dim'[Date], 2)
VAR FWeekNumber = WEEKNUM(DATE(YEAR('operations Date_Dim'[Date]), 04, 01),2)
RETURN
    IF(
        Weeknumber>=FWeekNumber,
        Weeknumber-(FWeekNumber-1),
        52+WeekNumber-(FWeekNumber-1)
    )  

 

3 Replies