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

Anyone know how to count the number of hours responded to within business hours?

Example: Helpdesk has a limited amount of hours before they have to actually respond to a customer, otherwise they'd have to pay the customer if that condition of hours is not met. The things is, only business hours count, which are 9 am to 5pm. So if I client called at 6pm and helpdesk responds at 9am, the hours between 6pm and 9am don't count towards the conditioned hours. The number of the conditioned hours are only counted within business hours.

 

anyone know how to do this? lol. I'm guessing some sort of filtering but I'm not very good with structuring my dax

 

1 ACCEPTED SOLUTION
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @GenericUser1,

From your description, you could refer to below link:

https://community.powerbi.com/t5/Desktop/Calculate-Time-Difference-with-Odd-Working-Hours/td-p/49052...

And if it could not solve your problem, could you please offer me some sample data and post your desired result if possible?

 

Regards,

Daniel He

Community Support Team _ Daniel He
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

2 REPLIES 2
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @GenericUser1,

From your description, you could refer to below link:

https://community.powerbi.com/t5/Desktop/Calculate-Time-Difference-with-Odd-Working-Hours/td-p/49052...

And if it could not solve your problem, could you please offer me some sample data and post your desired result if possible?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
GenericUser1
Helper I
Helper I

Might have to use multiple calculated columns or measured for this 😕 the hours have to also exclude hours in the weekend

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors