0
Standard Deviation
Hi Team ,
How to calculate standard deviation of a measure or metric considering last 26 weeks ?
Regards,
Ranga Naik
2 replies
-
Hi Ranga,
Create a set of the weeks you want to calculate the Standard Deviation of using Formulate model. This can be done in a number of ways, creating a dynamic set of weeks (that moves forward with time) or a static selection.
Then create a calculated member using the Standard Deviation function:
Hope that helps get you going.
Ian
-
Hi, Ranga .
Create calculated member.
Use this Function in Script Editor and change according to your dimension name .
>>>
Stdev ( ( [Reporting Date].[Date].CURRENTMEMBER : [Reporting Date].[Date].CURRENTMEMBER.LAG(26) )
, [Measures].[Sales] )