OpenBI Docs Buy

STDEVX.P

The standard deviation of an expression over a table's rows, taken as the whole population.

Group: Aggregation. Compatible with DAX.

Syntax

STDEVX.P ( <table>, <expression> )
ParameterTypeDescription
tableTableThe rows to go through.
expressionExpression
evaluated for each row
The number worked out for each row.

Returns

Number. How far the results spread around their mean, when they are all there is.

Remarks

  • Rows where the expression is blank are left out.
  • Over an empty table the result is BLANK; over a single row it is 0.

Examples

Eight values with a mean of 5

Their mean is 5 and the population deviation exactly 2.

EVALUATE
ROW ( "Deviation", STDEVX.P ( DATATABLE ( "Value", INTEGER, { { 2 }, { 4 }, { 4 }, { 4 }, { 5 }, { 5 }, { 7 }, { 9 } } ), [Value] ) )
Deviation
2

STDEVX.S, STDEV.P, VARX.P, AVERAGEX.

Last updated · OpenBI Studio 0.3.74