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
maart666
Helper I
Helper I

Calculation of number of wworking days between dates for a specific month

Hello,

 

I need to calculate the number of working days between two dates. Everything is fine if the start and end dates are in the same month. But if the period is at the turn of the month, the values are incorrect (the number of days is counted to the month with the starting date). Here are simple example of PBI file:
https://www.dropbox.com/s/r7e8twi9720vz6d/List.pbix?dl=0

1.JPG

 2.JPG

 

 

Thank you for any tips.

 

Marcin 

2 REPLIES 2
daxer-almighty
Solution Sage
Solution Sage

You have to wrap DATESBETWEEN in KEEPFILTERS. Also, if you're planning on slicing by 'Working Day' in the UI, you have to wrap it in KEEPFILTERS.

Thank you, i was managed to calculate it.

 

Marcin

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.