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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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