| title | Var (MDX) | Microsoft Docs |
|---|---|
| ms.date | 06/04/2018 |
| ms.prod | sql |
| ms.technology | analysis-services |
| ms.custom | mdx |
| ms.topic | reference |
| ms.author | owend |
| ms.reviewer | owend |
| author | minewiskan |
Returns the sample variance of a numeric expression evaluated over a set, using the unbiased population formula (dividing by n).
Var(Set_Expression [ ,Numeric_Expression ] )
Set_Expression
A valid Multidimensional Expressions (MDX) expression that returns a set.
Numeric_Expression
A valid numeric expression that is typically a Multidimensional Expressions (MDX) expression of cell coordinates that return a number.
The Var function returns the unbiased variance of a specified numeric expression evaluated over a specified set.
The Var function uses the unbiased population formula, and the VarP function uses the biased population formula.