Forum Discussion
Anonymous
6 years agoNot applicable
Group Weekly Starting 1/1
Hi, Is there any way to start a grouping of weeks starting on Jan 1? I have this formula: Date Start of Week = DATEADD(Dates[Date],-1*WEEKDAY(Dates[Date])+weekday(STARTOFYEAR(Dates[Date])),DAY)...
- 6 years ago
Hi Anonymous ,
try this.
Date Start of Week = DATE ( YEAR ( Dates[Date] ), 1, 1 ) + QUOTIENT ( DATEDIFF ( STARTOFYEAR ( 'Dates'[Date] ), Dates[Date], DAY ), 7 ) * 7Regards,
Marcus
Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
mwegener
6 years agoMost Valuable Professional
Hi Anonymous
i don't understand what is wrong?
Regards,
Marcus
Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Anonymous
6 years agoNot applicable
oh this reply was for the previous comment not yours..