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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

count max quantity calls on hold

Need help with DAX.

I have a table from a Call Center company, where people call and ask for support.

I have the date and full time (including seconds) when a call starts, ends, and total time on hold (waiting for an available attendant).

My dashbard is shown in periods of 30 minutes.

I need to know, in each 30 minutes, what is the maximum quantity of calls on hold.

 

Lets say this company only have 3 lines to receive calls.

In the image below, showing a full 30 minutes period, rows 1, 2 and 3 are active calls.

Row 4 starts on hold (dashed line) and the call is active only when row 2 ends.

Row 5 starts on hold (dashed line) and the call is active only when row 1 ends.

Row 6 starts on hold (dashed line) and the call is active only when row 3 ends.

 

Column A is only active calls.

Column B is 1 call on hold.

Column C is 2 calls on hold.

Column D is 3 calls on hold.

Column E is 2 call on hold.

Column F is 1 call on hold.

Column G is only active calls.

 

In this example, I need to show 3 as the maximum quantity of simultaneous calls on hold ( column D ).

It is not the distinct count of rows 4, 5 and 6.

How do I do this?

 

call center.png

2 REPLIES 2
Greg_Deckler
Super User
Super User


Take a look at these two Quick Measures as I think you want something like them.

https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364
https://community.powerbi.com/t5/Quick-Measures-Gallery/Periodic-Billing/m-p/409365


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

thanks for the reply, but this don´t work.

it actually crashed my computer.

I think it is because of too many rows. more than 1,2 million.

 

I created a separated calendar table with all seconds available, and tried to run it on a table object, but then my computer crashed.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.