DAX Function Guide
STDEV.S
Sam McKay
CEO & Founder
How does the STDEV.S work?
STDEV.S Formula Syntax
STDEV.S(
<ColumnName>
)
How do you use the STDEV.S?
This function calculates the standard deviation for a sample set of data. STDEV.S replaces the older STDEV function, with the same behavior.
Related Blog Posts
Loading
Considerations when using the STDEV.S?
- STDEV.S assumes that the column refers to a sample of the population. If your data represents the entire population, then compute the standard deviation by using STDEV.P.
- STDEV.S uses the following formula:√[∑(x – x̃)²/(n-1)]where x̃ is the average value of x for the sample population and 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 STDEV.S
=STDEV.S(InternetSales_USD[SalesAmount_USD])
=STDEVX.S(RELATEDTABLE(InternetSales_USD), InternetSales_USD[UnitPrice_USD] – (InternetSales_USD[DiscountAmount_USD]/InternetSales_USD[OrderQuantity]))
=STDEV.S(A2:A11)
Related Courses
Loading