Forum Discussion

yaman123's avatar
yaman123
Post Partisan
4 years ago
Solved

Week End on Thursday

Hi,

 

I have a query to add a new column to show the week end date from a delivery date field. I have the below dax query but it isnt producing the correct results. The week runs from Fri - Thurs.

 

When a delivery date is a Fri, the week end date shows as the day before e.g Delivery Date is 05/11 but week end date shows as 04/11 when it should show as 11/11

 

Week End = 'KPI Service Level Query'[DELIVERY_CONFIRMED_DATE] - WEEKDAY('KPI Service Level Query'[DELIVERY_CONFIRMED_DATE],2)+4
 
Any help is appreciated!

2 Replies