Hi all, I am struggling to do aggregation on ‘time data-type’. I want to compute the average handling time per customer care agent which is (total sum of talking time divided by the sum of ‘answered calls’). I have created a measure that calculates the sum of talking time: total_talking = SUM(CALLLOG[Talking]) and the sum of all calls with status (answered): number_of_calls = CALCULATE(COUNTAX(CALLLOG, CALLLOG[Status.]="1")). To have the Average handling time, I created a measure that divides both measures above: Aht = DIVIDE([total_talking], [no_answered_calls]). However, the result that I am getting looks strange (0.00) for all dates filtration.
NB: I HAVE (ANSWERED STATUS TOO)
@emmanuelkamara1 , Are you trying to add time ?
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
If you are trying to add time then
Please refer this :https://social.technet.microsoft.com/wiki/contents/articles/33644.powerbi-aggregating-durationtime-i...
Thanks @amitchandak , find below a snapshot of the data set and the resulting output after implementing the formulas I wrote above.
Shabnam Watson demos Incremental refresh & Hybrid Tables and Leila Etaati demos Charticulator.
Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!
User | Count |
---|---|
125 | |
72 | |
33 | |
24 | |
21 |
User | Count |
---|---|
136 | |
80 | |
37 | |
34 | |
19 |