The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Thanks for taking the time to respond to my problem. When I used your formula nothing changed with my results. I am not sure if it has to do with how my dashboard is modeled.
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.