How does the STDEV.P function (DAX) work?
The STDEV.P function (DAX) returns the standard deviation of the entire population.
STDEV.P Formula Syntax
How do you use the STDEV.P function?
This function is used to calculates the standard deviation for a sample set of data. The STDEV.P calculates standard deviation using the “n” method, ignoring logical values and text.
Related Blog Posts
Related Support Forum Posts
Considerations when using the STDEV.P function
- STDEV.P assumes that the column refers to the entire population. If your data represents a sample of the population, then compute the standard deviation by using STDEV.S.
- STDEV.P uses the following formula:√[∑(x – x̃)²/n]where 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
This DAX function may return different results when used in a model that is deployed and then queried in DirectQuery mode.
Related Video Tutorials
Formula examples using the STDEV.P function