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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
roryv2002
Frequent Visitor

How to get around average a average

i am trying to calcurlate average handled time 

 

i have creaated a custom column which divides total handled time by handled calls to get my average call time which then shows per row which is ok for some of my data but the problem i have is i have to display the data which groups some of the rows.  for example to report on DINO calls they have 4 lines which feed into this, this means when i display it in a visulisation it is averaging the average as it is grouping together those 4 lines to show the aveage,

 

has anyone come up against this before and has some advise/tips? 

1 ACCEPTED SOLUTION
Sahir_Maharaj
Super User
Super User

Hello @roryv2002,

 

1. Create a measure to calculate the total handled time for each group

TotalHandledTime_Grouped = SUM('YourTable'[TotalHandledTime])

2. Create a measure to calculate the total handled calls

HandledCalls_Grouped = SUM('YourTable'[HandledCalls])

3. Create a measure that divides the total

AverageCallTime = DIVIDE([TotalHandledTime_Grouped], [HandledCalls_Grouped])

Did I answer your question? Mark my post as a solution, this will help others!

If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂

Kind Regards,
Sahir Maharaj
Data Scientist | Data Engineer | Data Analyst | AI Engineer
P.S. Want me to build your Power BI solution? (Yes, its FREE!)
➤ Lets connect on LinkedIn: Join my network of 15K+ professionals
➤ Join my free newsletter: Data Driven: From 0 to 100
➤ Website: https://sahirmaharaj.com
➤ Email: sahir@sahirmaharaj.com
➤ Want me to build your Power BI solution? Lets chat about how I can assist!
➤ Join my Medium community of 30K readers! Sharing my knowledge about data science and artificial intelligence
➤ Explore my latest project (350K+ views): Wordlit.net
➤ 100+ FREE Power BI Themes: Download Now
LinkedIn Top Voice in Artificial Intelligence, Data Science and Machine Learning

View solution in original post

1 REPLY 1
Sahir_Maharaj
Super User
Super User

Hello @roryv2002,

 

1. Create a measure to calculate the total handled time for each group

TotalHandledTime_Grouped = SUM('YourTable'[TotalHandledTime])

2. Create a measure to calculate the total handled calls

HandledCalls_Grouped = SUM('YourTable'[HandledCalls])

3. Create a measure that divides the total

AverageCallTime = DIVIDE([TotalHandledTime_Grouped], [HandledCalls_Grouped])

Did I answer your question? Mark my post as a solution, this will help others!

If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂

Kind Regards,
Sahir Maharaj
Data Scientist | Data Engineer | Data Analyst | AI Engineer
P.S. Want me to build your Power BI solution? (Yes, its FREE!)
➤ Lets connect on LinkedIn: Join my network of 15K+ professionals
➤ Join my free newsletter: Data Driven: From 0 to 100
➤ Website: https://sahirmaharaj.com
➤ Email: sahir@sahirmaharaj.com
➤ Want me to build your Power BI solution? Lets chat about how I can assist!
➤ Join my Medium community of 30K readers! Sharing my knowledge about data science and artificial intelligence
➤ Explore my latest project (350K+ views): Wordlit.net
➤ 100+ FREE Power BI Themes: Download Now
LinkedIn Top Voice in Artificial Intelligence, Data Science and Machine Learning

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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