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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Jonnyjanso
New Member

Calculating the number of working days between a start and end date but split by month

Hey so I have imported data which shows an activity and its start and end date:

Jonnyjanso_0-1662545412865.png

I need to see how many working days (Mon to Fri) there are for each month between the start and end dates:

Jonnyjanso_1-1662545898002.png

Ideally this would woud also exclude holidays etc. I do have a table (not on PowerBI) that shows each day and if it is a holiday etc so wonder if i could import that and make use of that to help calculate the working days.

 

My struggle is understanding how / where to get the months seperated out and showing the working days within that specific month. The are various people that work on the different activities who have the same start and end date issue and cost linked to each so to seperate out the days i can then create a visual to show the cost per month for each person or activity.

 

Hopefully this makes sense. As i know it must be possible just at a dead end researching it atm.

3 REPLIES 3
Anonymous
Not applicable

Hi,

Have you tried using the (new) formula NETWORKDAYS()?
https://docs.microsoft.com/en-us/dax/networkdays-dax

Thanks, No didn't know about that formula, that is useful to find the total days (minus Weekends & Holidays) just need to get that split by months now

Anonymous
Not applicable

Could you maybe share some sample data?
In a matrix chart you would have to use months for the column and the created measure for values while keeping the activity on rows.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.