Forum Discussion
MikePowerBI
3 years agoHelper II
Have Week Start on Saturday in Date Column
Hi there, I am looking to create weekly buckets to sort data within a date column, so that the week starts on a Saturday and ends on a Friday. For example: Saturday, October 1, 2022 through Frida...
- 3 years ago
Thanks for the clarification Greg_Deckler ! I was able to get the same results using "+1" at the end of formula instead of "-1"
Greg_Deckler
3 years agoCommunity Champion
'Date'[Date] - WEEKDAY('Date'[Date], 16) - 1MikePowerBI
3 years agoHelper II
Hi Greg_Deckler ,
Thank you for the prompt reply! Unfortunately, the formula provided did not have the desired outcome. I was able to brute force the desired outcome using a long "if" statement.
Thanks again!
- Greg_Deckler3 years agoCommunity Champion
Using 16 as the second parameter of weekday returns Saturday = 1 and Friday = 7.
WEEKDAY('Date'[Date], 16)- MikePowerBI3 years agoHelper II
Thanks for the clarification Greg_Deckler ! I was able to get the same results using "+1" at the end of formula instead of "-1"