Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Stdev (MDX)

Returns the sample standard deviation of a numeric expression evaluated over a set, using the unbiased population formula (dividing by n-1).

Stdev(Set_Expression [ ,Numeric_Expression ] )


A valid Multidimensional Expressions (MDX) expression that returns a set.


A valid numeric expression that is typically a Multidimensional Expressions (MDX) expression of cell coordinates that return a number.

The Stdev function uses the unbiased population formula, while the StdevP function uses the biased population formula.


The following example returns the standard deviation for Internet Order Quantity, evaluated over the first three months of calendar year 2003, using the unbiased population formula.

WITH MEMBER Measures.x AS 
   ( { [Date].[Calendar].[Month].[January 2003],
       [Date].[Calendar].[Month].[February 2003],
       [Date].[Calendar].[Month].[March 2003]},
    [Measures].[Internet Order Quantity])
SELECT Measures.x ON 0
FROM [Adventure Works]
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft