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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
GAPER
Post Patron
Post Patron

How to have different ways of aggregratings numbers in powerbi Tables

GAPER_0-1739174178754.png

 

As you can see the mean of 0 is .43. However, I want the 0 's mean to be the sum of the five individual numbers

(so roughly 0.45+0.51+.24+.49+.46) Is there a way to do that?

 

Thanks

 

 

 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @GAPER  - you can create a measure to sum the values as follows with selected value function grouping =0

 

Mean_Adjusted =
IF(SELECTEDVALUE(Grouping) = 0,
SUMX(VALUES([Metric]), [Mean_Measure]),
[Mean_Measure]
)

 

 

Hope this helps, if any please share sample data or pbix by removing sensitive data . will check it from our end.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

3 REPLIES 3
GAPER
Post Patron
Post Patron

GAPER_0-1739180172758.png

 

 

One more follow up - now the numbers look right for each inidividual row but not right for Total - Total is now the sum of the values (1.57+2.61+2.31+0.91+1.72) instead of the std / mean of all data points summed (. I am sorry that I can't upload the data. Sorry that I can't upload the data but the STDEV total should be close to 2.48 if i calculate on excel

 

 

rajendraongole1
Super User
Super User

Hi @GAPER  - you can create a measure to sum the values as follows with selected value function grouping =0

 

Mean_Adjusted =
IF(SELECTEDVALUE(Grouping) = 0,
SUMX(VALUES([Metric]), [Mean_Measure]),
[Mean_Measure]
)

 

 

Hope this helps, if any please share sample data or pbix by removing sensitive data . will check it from our end.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





You Are amazing Raj

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

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

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.