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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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