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.
I need some help for (what it looks like) a simple waiting time calculation.
Example table:
So I want to calculate the caller with the longest waiting time.
Result should be like:
Any help would be appreciated.
Time | Duration | Caller | Call ID | Index |
13:41 | 00:00 | 1234 | e518bca3a1ad | 1 |
13:42 | 00:00 | 1234 | e518bca3a1ad | 2 |
13:43 | 00:00 | 1234 | e518bca3a1ad | 3 |
13:43 | 00:00 | 5678 | e8c03f3cfe2a | 1 |
13:44 | 00:00 | 1234 | e518bca3a1ad | 4 |
13:44 | 00:00 | 5678 | e8c03f3cfe2a | 2 |
13:45 | 00:00 | 1234 | e518bca3a1ad | 5 |
13:45 | 01:46 | 5678 | e8c03f3cfe2a | 3 |
13:45 | 00:00 | 1234 | e518bca3a1ad | 6 |
13:46 | 00:00 | 1234 | e518bca3a1ad | 7 |
13:47 | 00:00 | 1234 | e518bca3a1ad | 8 |
13:48 | 00:00 | 1234 | e518bca3a1ad | 9 |
14:03 | 00:00 | 9876 | 9be71da773a2 | 1 |
14:04 | 00:00 | 9876 | 9be71da773a2 | 2 |
14:04 | 00:00 | 1234 | 3cefb8f84ddf | 1 |
14:05 | 00:00 | 9876 | 9be71da773a2 | 3 |
14:05 | 00:00 | 1234 | 3cefb8f84ddf | 2 |
14:06 | 03:32 | 9876 | 9be71da773a2 | 4 |
14:06 | 00:00 | 1234 | 3cefb8f84ddf | 3 |
14:07 | 00:00 | 1234 | 3cefb8f84ddf | 4 |
Result should be:
Caller | Total duration without being answered |
1234 | 00:10 |
You should use an unique id for each start/end pair
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! |
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!!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
26 | |
22 | |
12 | |
8 |
User | Count |
---|---|
76 | |
50 | |
46 | |
16 | |
12 |