Find the call Duration for each coversation by writing a DAX formula

vampirerulz600

New Member
Joined
Aug 7, 2021
Messages
6
Platform
  1. Windows
Hello,

I am currently working on a Call center Data and i have to find the call duration for each coversation using a DAX formula. The challenge here is there are multiple entries for each conversation with its relevant time stamps in the same column.
1628331843314.png
1628331898440.png

The table is as follows, I have a Convid and the CreatedTime for each stage of conversation. I need to find the total time taken on each Coversation and i have write a DAX such that i will get the time spent on each conversation. Also i need to find the Longest Call, Shortest Call and the Avg Call time. Please help.
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Did you try
Excel Formula:
Call Duration:=max([CreatedTimeUTC])-min([CreatedTimeUTC])
 
Upvote 0
You did put convID in the rows section of the pivot with this measure?
 
Upvote 0
You did put convID in the rows section of the pivot with this measure?
It is not a pivot table. It is actually a row in the dataset that i have uploaded to powerBI. and i would like to make a calculation of each call/conversation.
 
Upvote 0
You say you want the result per call ID, then you are talking about a matrix visualization in PowerBI, somewhat the equivalent of a pivot in Excel.
 
Upvote 0
Maybe I do misunderstand.
Did you try the matrix visualization in PowerBI?
Or do you only need min, max and average call duration?
 
Upvote 0
Maybe I do misunderstand.
Did you try the matrix visualization in PowerBI?
Or do you only need min, max and average call duration?
I have tried Matrix but it does solve my requirement. So i need to create Measures for min max and avg call duration among the agents
 
Upvote 0
I have tried Matrix but it does solve my requirement. So i need to create Measures for min max and avg call duration among the agents
I have tried Matrix but it does not* solve my requirement. So i need to create Measures for min max and avg call duration among the agents
 
Upvote 0

Forum statistics

Threads
1,223,702
Messages
6,173,959
Members
452,539
Latest member
delvey

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top