DAX Function Guide
VARX.P
Sam McKay
CEO & Founder
How does the VARX.P work?
VARX.P Formula Syntax
VARX.P(
<table>, <expression>
)
How do you use the VARX.P?
This function is used to calculate a value for each row in a table and displays the variance of the entire population of these values.
Related Blog Posts
Loading
Considerations when using the VARX.P?
- VARX.P evaluates <expression> for each row of <table> and returns the variance of <expression> assuming that <table> refers to the entire population.. If <table> represents a sample of the population, then compute the variance by using VARX.S.
- VARX.P uses the following formula:∑(x – x̃)²/nwhere x̃ is the average value of x for the entire populationand n is the population size
- Blank rows are filtered out from columnName and not considered in the calculations.
- An error is returned if columnName contains less than 2 non-blank rows
Related Video Tutorials
Loading
Formula examples using the VARX.P
=VARX.P(InternetSales_USD, InternetSales_USD[UnitPrice_USD] –(InternetSales_USD[DiscountAmount_USD]/InternetSales_USD[OrderQuantity]))
= VARX.P (Sales, [Sales Amount])
Related Courses
Loading