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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
sbendorf1787
Frequent Visitor

Calculating Down Time Between Calls

Hello, 

 

Hopefully someone can help with my current problem. I would like to calculate the Avg Down Time Between Calls by Employee for a KPI report. 

 

My dataset is a combination of csv. files that are weekly call logs that inclue numerous employees.  The csv. files are saved in a folder. The folder is then the source of my PowerBI query. 

example of dataset.PNG

 

 

Data set includes a start of call and call duration or talk time length but not end of call. Previously I have been sorting all of the data by employee and then calculating the end call time in excel. I can then subtract the calculated end time from the Next Calls Start Time to get a "Wrap Duration" or time between calls. 

 Calculation Example.PNG

 

 

Is this something I can do in Power BI? Any help is greatly appreciated! 

 

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

Sounds very very similar to Mean Time Between Failure...

 

See my article on Mean Time Before Failure (MTBF) which uses EARLIER: http://community.powerbi.com/t5/Community-Blog/Mean-Time-Between-Failure-MTBF-and-Power-BI/ba-p/3395...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
sbendorf1787
Frequent Visitor

 

Thank you @Seward12533 and @Greg_Deckler for your replies! 

 

Greg it is very similar to your Mean Time Before Failure article. I think it is going to work with my dataset/problem. 

 

Thanks again for the help! And your article : ) 

Greg_Deckler
Community Champion
Community Champion

Sounds very very similar to Mean Time Between Failure...

 

See my article on Mean Time Before Failure (MTBF) which uses EARLIER: http://community.powerbi.com/t5/Community-Blog/Mean-Time-Between-Failure-MTBF-and-Power-BI/ba-p/3395...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Seward12533
Solution Sage
Solution Sage

I would try to add a column that will calculate the MIN of all calls by that same person that start after the start time of the current slide. 

 

End Time = CALCULATE(MIN(table[Start Time]),table[Start Time]>[Start Time],table[AgentID=[AgentID])) 

 

or something like that.. 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors