Forum Discussion
Anonymous
5 years agoNot applicable
Calculated Column Showing Business days count between 2 dates
I have a table that has 'Created' date/time and 'Updated' date/time. I can calculate the DATEDIFF, but need to also show Business Days Only. I have a CalendarTbl[Date] with relationship to below da...
- 5 years ago
Anonymous , Something like this
Work Day = COUNTROWS(FILTER(ADDCOLUMNS(CALENDAR(Table[Created],Table[updated]),"WorkDay", if(not(WEEKDAY([Date],1) in {1,7}),1,0)),[WorkDay] =1))
amitchandak
Super User
5 years agoAnonymous , Something like this
Work Day = COUNTROWS(FILTER(ADDCOLUMNS(CALENDAR(Table[Created],Table[updated]),"WorkDay", if(not(WEEKDAY([Date],1) in {1,7}),1,0)),[WorkDay] =1))
Anonymous
5 years agoNot applicable
Thank you so much! Worked great!