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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors