Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
160475
Helper I
Helper I

working days calculation

dears,

good day!! 

 

i have a file called dim date it has a culomns called G_date where it shows the date from 12/29/2008 till 5/13/2029 

160475_0-1666097927515.png

how can i calculate the working days if holidays are fri and sat 

i have another culomn called vacation where 1 vacation  and blank working days 

160475_1-1666098038512.png

 

i need to calculate working days in each moth can you help please ?? 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@160475 , Check if networkdays can help

https://amitchandak.medium.com/power-bi-dax-function-networkdays-5c8e4aca38c

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @160475,

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@160475 , Check if networkdays can help

https://amitchandak.medium.com/power-bi-dax-function-networkdays-5c8e4aca38c

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Top Kudoed Authors