Forum Discussion
cheid_4838
2 years agoHelper IV
How to Exclude the last week when a
[ Spoiler ]
Anonymous
2 years agoNot applicable
Hi cheid_4838 ,
To exclude the last week of the 13-week period, you can modify your formula for calculating the week start date. Let’s adjust it to exclude the week that corresponds to the most recent data point.
You can change your DAX codes for another try.
WEEK START DATE =
IF (
'Delivery Dates'[Date] < MAX('Delivery Dates'[Date]) - 7,
'Delivery Dates'[Date] - WEEKDAY('Delivery Dates'[Date]) + 1,
BLANK()
)
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.