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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.