DAX Statistical - STDEV.S function



Description

Returns the standard deviation of a sample population.

Syntax

STDEV.S (<ColumnName>)

Parameters

Sr.No. Parameter & Description
1

ColumnName

The name of a column, usually fully qualified.

It cannot be an expression.

Return Value

A real number.

Remarks

DAX STDEV.S function assumes that the column refers to a sample of the population. If your data represents the entire population, then use DAX STDEV.P function.

STDEV.S uses the following formula −

$$\sqrt{\sum\frac{(x\:-\:\bar{x})^{2}}{(n-1)}}$$

Where, $\bar{x}$ the average value of $x$ for the entire population, and

n is the sample size

Blank rows are filtered out from columnName and not considered in the calculation.

An error is returned if columnName contains less than 2 non-blank rows.

Example

= STDEV.S (West_Sales[Amount]) 
dax_functions_statistical.htm
Advertisements