Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
lennox25
Post Patron
Post Patron

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)
    )  

lennox25_0-1661253063031.png

 

3 REPLIES 3
lennox25
Post Patron
Post Patron

Hi @amitchandak  - Scrub that -Ive got it to work - but can the formula you provided be tweaked so I have 52 weeks? TIA

amitchandak
Super User
Super User

@lennox25 , Try like

 

FY Week = QUOTIENT(DATEDIFF(Minx(FILTER('Date',[FY Start Date]=EARLIER([FY Start Date])),'Date'[Start of Week]),[Date],DAY),7)+1

 

or go to a sunday/monday  of FY Start date

 

FY Week Start = [FY Start Date] - weekday([FY Start Date],2) +1 // Monday

 

FY Week = QUOTIENT(DATEDIFF(Minx(FILTER('Date',[FY Week Start ]=EARLIER([FY Week Start ])),'Date'[Start of Week]),[Date],DAY),7)+1

 

 

Creating Financial Calendar - From Any Month
https://community.powerbi.com/t5/Community-Blog/Creating-Financial-Calendar-Decoding-Date-and-Calend...
https://medium.com/chandakamit/cheat-sheet-calendar-of-any-standard-month-just-one-variable-apart-5e...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak  Do you have a power BI example? I just cant get it to work 🙂

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.