Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
| Employee Name | Date | Work Hrs |
| Ajith | 8/1/2024 | 16.00 |
| Ajith | 8/2/2024 | 16.00 |
| Ajith | 8/5/2024 | 12.00 |
| Ajith | 8/6/2024 | 13.00 |
| Ajith | 8/7/2024 | 16.00 |
| Ajith | 8/8/2024 | 16.00 |
| Ajith | 8/9/2024 | 16.00 |
| Ajith | 8/12/2024 | 16.00 |
| Ajith | 8/13/2024 | 16.00 |
| Ajith | 8/14/2024 | 14.00 |
| Ajith | 8/15/2024 | 16.00 |
| Ajith | 8/16/2024 | 16.00 |
| Ajith | 8/19/2024 | 16.00 |
| Ajith | 8/20/2024 | 16.00 |
| Ajith | 8/21/2024 | 16.00 |
| Ajith | 8/22/2024 | 16.00 |
| Ajith | 8/23/2024 | 16.00 |
| Ajith | 8/24/2024 | 0.00 |
| Ajith | 8/26/2024 | 10.00 |
| Ajith | 8/27/2024 | 10.00 |
| Ajith | 8/28/2024 | 2.00 |
| Ajith | 8/29/2024 | 2.00 |
| Ajith | 8/30/2024 | 2.00 |
| Amy | 8/1/2024 | 8.00 |
| Amy | 8/2/2024 | 8.00 |
| Amy | 8/5/2024 | 8.00 |
| Amy | 8/6/2024 | 8.00 |
| Amy | 8/7/2024 | 8.00 |
| Amy | 8/8/2024 | 8.00 |
| Amy | 8/9/2024 | 8.00 |
| Amy | 8/12/2024 | 8.00 |
| Amy | 8/13/2024 | 9.00 |
| Amy | 8/14/2024 | 9.80 |
| Amy | 8/15/2024 | 10.00 |
| Amy | 8/16/2024 | 8.00 |
| Amy | 8/19/2024 | 8.00 |
| Amy | 8/20/2024 | 7.00 |
| Amy | 8/21/2024 | 9.00 |
| Amy | 8/22/2024 | 8.00 |
| Amy | 8/23/2024 | 8.00 |
| Amy | 8/26/2024 | 8.00 |
| Amy | 8/27/2024 | 8.00 |
| Amy | 8/28/2024 | 0.00 |
| Amy | 8/29/2024 | 0.00 |
| Amy | 8/30/2024 | 0.00 |
My Table looks like this. My requirement is calculate working days of each employees excluding weekends. How can I acieve this?
Thank You
Ajit
Solved! Go to Solution.
Hi @ajitsahoo8338 ,
I think it is working fine.
From 20th AUgust to 27th August, there are 8 days. Excluding saturday and sunday that comes in those days, it is 6 working days.
One more example is given below for the same case
Between 16th August and 27th August, there are 12 days with 2 saturdays and 2 sundays. The Working days in this case is shown as 8 excluding the 4 weekend days
Regards,
Hi @ajitsahoo8338 ,
Create a new column to identify the weekday using the below DAX
Weekday = WEEKDAY('Table'[Date], 1)Then Create a measure as shown below
Workingdays = CALCULATE(DISTINCTCOUNT('Table'[Date]), AND('Table'[Weekday] <> 1, 'Table'[Weekday] <> 7))Ajit has 23 days, but workingdays measure returns 22 exluding the saturday in the list
Regards,
Hello @Thejeswar Thank you for your response. The measure is working fine but If filter any date then working days is not showing correctly Like Below. Total should show 12
Hi @ajitsahoo8338 ,
I think it is working fine.
From 20th AUgust to 27th August, there are 8 days. Excluding saturday and sunday that comes in those days, it is 6 working days.
One more example is given below for the same case
Between 16th August and 27th August, there are 12 days with 2 saturdays and 2 sundays. The Working days in this case is shown as 8 excluding the 4 weekend days
Regards,
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!