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
Anonymous
Not applicable

Average function giving different result per row

Hi,

 

I'm trying to get an average from a column but is giving a different value every row.

I'm unsure how to find the average for the entire column.

 

The data source is a salesforce report I created with some mock cases.

I've created a new column to calculate the average: 

Average IRT= AVERAGE('Closed cases'[Initial response business hours])
 
Output:
average.PNG

 

Anyone have an idea how to get one value for the entire column?

 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I've found the solution. 

The problem was with how the report was being generated not with the formula.

 

 

View solution in original post

6 REPLIES 6
mussaenda
Super User
Super User

Hi @Anonymous ,
You may want to try this:
Average IRT= CALCULATE(AVERAGE('Closed cases'[Initial response business hours]), ALL('Closed cases'))
Anonymous
Not applicable

@mussaenda Thanks for the quick reply. Unfortunately it gives the same result as before.

Strange. Are there any data on your visual from different table?

Anonymous
Not applicable


@mussaenda wrote:

Strange. Are there any data on your visual from different table?


Just one table is used in this visual.

Anonymous
Not applicable

I've found the solution. 

The problem was with how the report was being generated not with the formula.

 

 

dax
Community Support
Community Support

Hi JeanStargir,

So it seems that  you solve your problem, right? If so and if you'd like to, you could mark corresponding post as answer or share your solutions. That way, people who in this forum and have similar issue will benefit from it.

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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