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
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

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.

Top Solution Authors
Top Kudoed Authors