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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Syndicate_Admin
Administrator
Administrator

Problems calculating the average number of ATH calls

pablo4676_0-1662639176007.png

Good morning, I press my name is pablo and I am from Argentina and I have a problem to get the average talk time of a telephone exchange, AHT calls, if I on the excel calculate with the average function that value gives me correctly but on power bi I do not find the turn, what I do is calculate the total time of conversation but I do not find the way to get that average, I attach a capture of what I have and if anyone can help me thank you very much.-

pablo4676_1-1662639176496.png

Best regards;

Pablo

1 ACCEPTED SOLUTION

Thanks There I found the mistake I had, you are a genius or genius!

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Syndicate_Admin , If this in time format you have first convert and take avg

 

new measure =

var _avg = averageX(Table, hour([Talk Time])*3600 + Minute([Talk Time])*60 + Second([Talk Time]))
return
Time(0,0,_avg)

 

or

 

new measure =

var _avg = averageX(Table, hour([Talk Time])*3600 + Minute([Talk Time])*60 + Second([Talk Time]))
return
format(Time(0,0,_avg), "hh:mi:ss" )

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hello, use your solution but I am doing something wrong so it does not work for me, I tell you how to arm it

var_avg = averageX(Sheet1, hour([suma AHT])*3600 + Minute([suma AHT])*60 + Second([suma AHT]))
return
time (0,0, var_avg)
I pass the capture, you could tell me where I am wrong
pablo4676_0-1662641239705.png

Sdos.

Pablo

Thanks There I found the mistake I had, you are a genius or genius!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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