Forum Discussion
KG1
4 years agoResolver I
Working Days
Hi I have a date table linked to a completion date in my data table. I need to be able to calculate the number of working days between the onsite date and completion date in the data table ...
- 4 years ago
KG1 , Try a new column like
business Day = COUNTROWS(FILTER(ADDCOLUMNS(CALENDAR(Table[Onsite_Date],Table[Completion Date]),"WorkDay", if(WEEKDAY([Date],2) <6,1,0)),[WorkDay] =1))
How to calculate Business Days/ Workdays, with or without date table: https://youtu.be/Qv4wT8_P-AA
KG1
4 years agoResolver I
Hi - there were anomilies in there data where some the of the end dates were before the start dates. I created 2 new conditonal columns to flip the dates around and the DAX worked perfectly - thank you very much