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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors