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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors