Forum Discussion
Mohsen_2020
5 years agoHelper III
Create a measure calculating Working Days
Dear Team, Ashish_Mathur I need your support to creeate a measure calculating number of working days knowing that Saturday & Friday days are off, i mean to exculude both "Friday & Satureday" from...
- 5 years ago
Mohsen_2020
5 years agoHelper III
Hi , I need it in a measure so i can put it in a card will display the working days as a number.
Ashish_Mathur , Please help.
Regards,
Mohsen
FrankAT
5 years agoCommunity Champion
Hi Mohsen_2020 ,
1. There are seven rows without any data in your data table.
2. In Power Query split column Call Time in date part and time part.
3. Now you can calculate your workin days like this:
Sum of weekdays =
CALCULATE (
DISTINCTCOUNT ( report1617266304758[Date] ),
FILTER (
report1617266304758,
WEEKDAY ( report1617266304758[Date] ) IN { 1, 2, 3, 4, 5 }
)
)
With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)