Forum Discussion
MonsterATS
4 years agoRegular Visitor
Standard Deviation from a Cumulative Measure
I have dozens of locations with different start dates. For each location I have monthly productivity. Using a start date and a separate table of 'Months On Production' I can compare locations by mo...
- 4 years ago
Hi, MonsterATS ;
You could create a measure then use STDEVX.P() .
1.create a CumProduction measure.
CumProduction = CALCULATE ( SUM ( 'Table'[Production] ), FILTER ( ALLEXCEPT ( 'Table', 'Table'[Location] ), [Months Producing] <= MAX ( 'Table'[Months Producing] ) ) )2.calculate stdevx.
stdevx = STDEVX.P(ALLEXCEPT('Table','Table'[Months Producing]),[CumProduction])The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yalanwu-msft
Community Support
4 years agoHi, MonsterATS ;
You could create a measure then use STDEVX.P() .
1.create a CumProduction measure.
CumProduction =
CALCULATE (
SUM ( 'Table'[Production] ),
FILTER (
ALLEXCEPT ( 'Table', 'Table'[Location] ),
[Months Producing] <= MAX ( 'Table'[Months Producing] )
)
)
2.calculate stdevx.
stdevx = STDEVX.P(ALLEXCEPT('Table','Table'[Months Producing]),[CumProduction])
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.