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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
HansZ
Regular Visitor

Delivery time between two dates in hours excluding non-working days except express delivery!!.

Hi fine Forum people,

How to calculate (total) delivery time between two dates/times, excluding weekends and holidays except if (express) delivered on Saturday.........in hours (elapsed time). 

Excel Networkdays formula only gives full complete days and doesn't format in hours.

"Duration" Power Query doesn't exclude, and Networkdays M-Codes also result in full days.

Below PQ screenshot of the challenge to slaughter your brain cells :).
Thanks in advance.

Greetz

 

Need to exclude weekends in hours.png

2 REPLIES 2
Sasidhar01
New Member

HI Sasidhar,

Thank you for you prompt reaction.

Love your solution but it is not what I was looking for.

At first glance your solution is a 9-5 working hour solution. I need a "24 hours" solution to measure performance of the delivery teams.

I will try to modify your formula by stripping down the working hours and or wrap a IF statement for the Saturday express deliveries.

Though!

Thank you very much for your effort an attention.

GreetZ

HansZ

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors