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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
EmptyCarSpot
Frequent Visitor

Subtract non-working hours

Hello, my question is how to subtract the hours during non-working hours, here is an example:


I am subtracting the hours between the shipping date and the current date but the first result was entered at 01:00 and the other at 09:00, how can I make the hours be subtracted when it is out of schedule?

EmptyCarSpot_0-1626365081707.png

ps: business hours are between 09:00 to 18:00

1 REPLY 1
v-janeyg-msft
Community Support
Community Support

Hello, @EmptyCarSpot 

 

I don't understand your thoughts very well. Are 19 and 12 the result you want? They seem to conflict with your logic? Or what the correct result should be?

Can you explain your logic completely? So we can help you soon.

vjaneygmsft_0-1626691042626.png

 

Best Regards

Janey Guo

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.