OpenBI Docs Buy

VARX.P

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

Group: Aggregation. Compatible with DAX.

Syntax

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

Returns

Number. The variance of the results, taking them as the whole population.

Remarks

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

Examples

Eight values

EVALUATE
ROW (
    "Population", VARX.P ( DATATABLE ( "Value", INTEGER, { { 2 }, { 4 }, { 4 }, { 4 }, { 5 }, { 5 }, { 7 }, { 9 } } ), [Value] ),
    "Sample", VARX.S ( DATATABLE ( "Value", INTEGER, { { 2 }, { 4 }, { 4 }, { 4 }, { 5 }, { 5 }, { 7 }, { 9 } } ), [Value] )
)
PopulationSample
44.57142857142857

VARX.S, VAR.P, STDEVX.P.

Last updated · OpenBI Studio 0.3.74