cancel
Showing results for 
Search instead for 
Did you mean: 
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
Microsoft

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
Microsoft

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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors
Top Kudoed Authors