cancel
Showing results for
Did you mean:
New Member

## How to determine Time Occurred for Max Wait

Hi All,

I am trying to work out how to show the time that a maximum wait occured for each queue group in our call centre.

Below is a screenshot of the data that I am working with. I have the Maximum Wait for each of the Queues, but I want to know what time that occured at.  I have another sheet which has each time period and that wait time for each skill but I am having trouble gettting the time occured to appear.

I have tried using VLookup but I keep getting an error stating that multiple values were returned.

Would anyone have any insights into how to get this to work?

Thanks!

1 ACCEPTED SOLUTION
Super User IV

@LEM8720 , You can create a column Rank or measure rank  example

if Needed use use datetime combine field

Datetime  = [Date]+[time]

Rank column = rankx(filter(Table, [Queue] = earlier([Queue])),[Wait Time],,desc, dense)

Rank measure = rankx(filter(allselected(Table, Table[Queue],Table [Datetime]) ,Table[Queue] = max([Queue])),calculate(sum([Wait Time])),,desc, dense)

filter for Rank 1

Proud to be a Super User!

4 REPLIES 4
Super User I

Hi @LEM8720 ,

I can see on your second photo there two values for Registration Intro at 8.15 am

Thanks

Proud to be a Super User!

New Member

I am looking to try and get a table like this ;

I want to know the time that the Max Wait occured at. I was able to do the above table in Excel but I haven't been successful yet to replicate this in Power Bi

Super User IV

@LEM8720 , You can create a column Rank or measure rank  example

if Needed use use datetime combine field

Datetime  = [Date]+[time]

Rank column = rankx(filter(Table, [Queue] = earlier([Queue])),[Wait Time],,desc, dense)

Rank measure = rankx(filter(allselected(Table, Table[Queue],Table [Datetime]) ,Table[Queue] = max([Queue])),calculate(sum([Wait Time])),,desc, dense)

filter for Rank 1

Proud to be a Super User!

New Member

Thanks @amitchandak That worked.

Announcements

#### 2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

#### Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

#### Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Top Kudoed Authors