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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Fiscal Week Calculation Starting on Sundays, I need Saturday

Hi All!

 
I have this dates tables which I use to gather the different fiscal periods, and year based on normal calendar dates. 
 
I found a formula on how to calculate the fiscal calendar week, my challenge here is that actually it is starting on sundays, not saturdays as the fiscal weeks are in this case for me actually. 
 

Period Date is the Normal Calendar Date.

Period Year is the Fiscal Year based on the Calendar Date. 

 

Here's the formula: 
 
Fiscal Week = IfERROR(DATEDIFF(
CALCULATE(
FIRSTDATE(Period[Date]),
FILTER(
ALL(Period),
'Period'[Period Year] = EARLIER('Period'[Period Year])
&& 'Period'[Date] <= EARLIER('Period'[Date])
)
),'Period'[Date],WEEK)+1,-1)
 
The result is the following:
 
image.png
 
As I said I would like for the Fiscal Week to start on saturday, not sunday.
 
Any help is appreciated.
Thanks in advance!
1 ACCEPTED SOLUTION
1 REPLY 1

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.