Forum Discussion

Cutten101's avatar
Cutten101
Regular Visitor
3 years ago
Solved

Week Offset - Where Week Starts on a Saturday

Hey Guys,

 

I was wondering if anyone could help me. I need to work out the Week Offset. However our week starts on a Saturday rather than Sunday or a Monday.

 

This is the formula we previously used when our week started on a Monday.

Week Offset =
Var StartOfWeek = 'Date'[Date] - WEEKDAY( 'Date'[Date], 2)+1
Var StartOfCurrentWeek = TODAY() - WEEKDAY(TODAY(), 2)+1
Return (StartOfWeek - StartOfCurrentWeek)/7
 
But now we need the week to start on a saturday, and the WeekDay Function does not cater for this. Any ideas would be greatful.
 

 

3 Replies