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

Help in calculating Non Business Hours between Two Dates

Hello,

 

I am working on calculating Non Business Hours between two dates excluding Saturday and Sunday and the business hours are from 8 AM to 6 PM. My data looks like this.

 

TicketNoTicketCreated TimeTicket Closed Time
T6797681/1/2020 5:361/2/2020 7:36
T36797691/1/2020 5:461/3/2020 14:25
T36797701/1/2020 9:441/2/2020 7:26
T36798181/2/2020 10:001/6/2020 15:51
T36800271/2/2020 18:161/6/2020 13:48
T36800341/2/2020 21:401/7/2020 8:35
T36798071/2/2020 9:331/2/2020 9:38
T36808231/6/2020 16:571/8/2020 18:03
T36809201/7/2020 9:151/14/2020 9:52
T36812811/7/2020 21:171/8/2020 10:59
T36812931/8/2020 5:241/8/2020 7:21

 

Any help in calculating..

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @pjdsh ,

 

Check this PBIX and see if it help.

 

Best Regards,

Jay

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

3 REPLIES 3
v-jayw-msft
Community Support
Community Support

Hi @pjdsh ,

 

Check this PBIX and see if it help.

 

Best Regards,

Jay

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
Gordonlilj
Solution Sage
Solution Sage

Hi,

 

Check out the solutions provided in the posts below and see if they are what you're looking for

Calculate Hours between dates for only business hours 

Calculating Working hours 

@Gordonlilj , Thank You.. Will check the posts

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.