Forum Discussion
curtismob
3 years agoHelper IV
Variance From Average
Hello. I am trying to find the variance of a measure (SUM), from an average measure of the sum. Below is some simple data. Product Area Cost Product1 Area 1 10 Product1 Area 2 15 ...
- 3 years ago
Hi,
Write these measures
C = SUM(Data[Cost])Average product cost = AVERAGEX(ALL(Data[Area]),[C])Variance = [C]-[Average product cost]Hope this helps.
Ashish_Mathur
3 years agoSuper User
Hi,
Write these measures
C = SUM(Data[Cost])Average product cost = AVERAGEX(ALL(Data[Area]),[C])Variance = [C]-[Average product cost]
Hope this helps.
curtismob
3 years agoHelper IV
Hi Ashish, I am reviewing your solution and trying to test it with some actual data. As you would expect, my actual data, with a couple of relationships involved, is not as simple as my example data for this post. Your solution has given me some good direction.
Thank you for the quick response,
- Ashish_Mathur3 years agoSuper User
You are welcome.