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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RubberNinja
Frequent Visitor

average of a measure

Hello! I have just started using Power BI so I really need some help.

 

I have this measure:

Capture.PNG

 

 

And I want to get the mean of those values and looks something like this:

Capture2.PNG

 

Is this possible? Thank you so much

1 ACCEPTED SOLUTION

Hi @RubberNinja,

 

I made a test by using your formula, it worked well as well.

 

Measure = (SUMX(Control_Chart_View3, Control_Chart_View3[MidCallFailures]) / SUMX(Control_Chart_View3, Control_Chart_View3[Sessions])) * 100
Measure 2 = SUMX(ALL(Control_Chart_View3),[Measure])/CALCULATE(COUNTROWS(Control_Chart_View3),ALL(Control_Chart_View3))

123.PNG

 

For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/5fwlzhdpkf3qc27/average%20of%20a.pbix?dl=0

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

3 REPLIES 3
v-frfei-msft
Community Support
Community Support

Hi @RubberNinja,

 

I made one sample for your reference.

 

Measure = CALCULATE(SUM(Table1[values]))
Measure 2 = SUMX(ALL(Table1),[Measure])/CALCULATE(COUNTROWS(Table1),ALL(Table1))

Capture.PNG
For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/oy71br7yuyngbf6/average%20of%20a%20measure.pbix?dl=0

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

what if the values from my first column came from a measure also?

 

like these values came from

Measure = (SUMX(Control_Chart_View3, Control_Chart_View3[MidCallFailures]) / SUMX(Control_Chart_View3, Control_Chart_View3[Sessions])) * 100

Capture.PNG

 

sum() only accepts column reference, how can I get the sum of my values

Hi @RubberNinja,

 

I made a test by using your formula, it worked well as well.

 

Measure = (SUMX(Control_Chart_View3, Control_Chart_View3[MidCallFailures]) / SUMX(Control_Chart_View3, Control_Chart_View3[Sessions])) * 100
Measure 2 = SUMX(ALL(Control_Chart_View3),[Measure])/CALCULATE(COUNTROWS(Control_Chart_View3),ALL(Control_Chart_View3))

123.PNG

 

For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/5fwlzhdpkf3qc27/average%20of%20a.pbix?dl=0

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.