DAX Function Guide

STDEV.S
Empty image or helper icon

Sam McKay

CEO & Founder

How does the STDEV.S work?
The STDEV.S function (DAX) returns the standard deviation of a sample population.
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?
  1. 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.
  2. 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
  3. Blank rows are filtered out from columnName and not considered in the calculations.
  4. 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