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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Anonymous
Not applicable

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.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

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.

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors