Forum Discussion
WLFRD
4 years agoHelper III
WorkingDays - Excluded weekends
Hello, I would like to get some help with the nex issue. I have a table with to dates. A simple Datediff wil calculate the day diffencence between the two given dates in the table. D_ENTER...
- Anonymous4 years ago
HI WLFRD,
You can use countrows and weekday functions to create a calculated column to achieve your requrement:
Datediff = COUNTROWS ( FILTER ( CALENDAR ( Table[D_ENTER_DATE], Table[D_PROM_ENTER_DATE] ), WEEKDAY ( [Date], 2 ) < 6 ) )Regards,
Xiaoxin Sheng
Arul
4 years agoSuper User
WLFRD ,
Try the below approach provide in the link and let me know if that does not helps.
https://community.powerbi.com/t5/Desktop/DATEDIFF-excluding-weekends/m-p/947915
Thanks,
Arul