VAR.S DAX Function (Statistical)

Estimates variance based on a sample. Ignores logical values and text in the sample.


VAR.S ( <ColumnName> )
Parameter Attributes Description

A column that contains numeric values corresponding to a sample of a population.

Return values

Scalar A single decimal value.

A number that represents the variance of a sample population.


VAR.S assumes that the column refers to a sample of the population.

To compute the variance with the entire population, use VAR.P.

The VAR.S function internally executes VARX.S, without any performance difference.
The following VAR.S call:

VAR.S ( table[column] )

corresponds to the following VARX.S call:


Related articles

Learn more about VAR.S in the following articles:

  • Statistical Patterns

    DAX includes a few statistical aggregation functions, such as average, variance, and standard deviation. Other typical statistical calculations require you to write longer DAX expressions. Excel, from this point of view, has a much richer language. The Statistical Patterns are a collection of common statistical calculations: median, mode, moving average, percentile, and quartile. » Read more

Related functions

Other related functions are:

Last update: Sep 15, 2020   » Contribute   » Show contributors

Contributors: Alberto Ferrari, Marco Russo

MSDN documentation:

Context Transition

This function performs a Context Transition if called in a Row Context. Click to read more.

Row Context

This expression is executed in a Row Context. Click to read more.


Not recommended

The use of this function is not recommended. See Remarks and Related functions for alternatives.

Not recommended

The use of this parameter is not recommended.


This function is deprecated. Jump to the Alternatives section to see the function to use.


This parameter is deprecated and its use is not recommended.


Want to improve the content of VAR.S? Did you find any issue?
Please, report it us! All submissions will be evaluated for possible updates of the content.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.