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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Top N caller by date

I need some help for (what it looks like) a simple waiting time calculation.

Example table:

jdevalk_0-1634763097329.png

 

So I want to calculate the caller with the longest waiting time.

Result should be like:

jdevalk_1-1634763198727.png

Any help would be appreciated.

 

3 REPLIES 3
Anonymous
Not applicable

TimeDurationCallerCall IDIndex
13:4100:001234e518bca3a1ad1
13:4200:001234e518bca3a1ad2
13:4300:001234e518bca3a1ad3
13:4300:005678e8c03f3cfe2a1
13:4400:001234e518bca3a1ad4
13:4400:005678e8c03f3cfe2a2
13:4500:001234e518bca3a1ad5
13:4501:465678e8c03f3cfe2a3
13:4500:001234e518bca3a1ad6
13:4600:001234e518bca3a1ad7
13:4700:001234e518bca3a1ad8
13:4800:001234e518bca3a1ad9
14:0300:0098769be71da773a21
14:0400:0098769be71da773a22
14:0400:0012343cefb8f84ddf1
14:0500:0098769be71da773a23
14:0500:0012343cefb8f84ddf2
14:0603:3298769be71da773a24
14:0600:0012343cefb8f84ddf3
14:0700:0012343cefb8f84ddf4

 

Result should be:

CallerTotal duration without being answered
123400:10
CNENFRNL
Community Champion
Community Champion

You should use an unique id for each start/end pair

CNENFRNL_0-1634782726553.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

VahidDM
Super User
Super User

Hi @Anonymous 

 

Can you share a sample of your data in the table format to be able to copy and past that (Not Image 🙂 )

 

Appreciate your Kudos!!

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.