DAX Function Guide

STDEVX.S
Empty image or helper icon

Sam McKay

CEO & Founder

How does the STDEVX.S work?
The STDEVX.S function (DAX) returns the standard deviation of a sample population.
STDEVX.S Formula Syntax

STDEVX.S(
     <table>, <expression>
)

How do you use the STDEVX.S?

This function is used to evaluate an expression for each row of the table and returns the standard deviation of an expression, assuming that the table refers to a sample of the population.

Related Blog Posts

Loading

Considerations when using the STDEVX.S?
  1. STDEVX.S evaluates expression for each row of table and returns the standard deviation of expression assuming that table refers to a sample of the population. If table represents the entire population, then compute the standard deviation by using STDEVX.P.
  2. STDEVX.S uses the following formula:√[∑(x – x̃)²/(n-1)]where x̃ is the average value of x for the entire populationand 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 STDEVX.S

=STDEVX.S(RELATEDTABLE(InternetSales_USD), InternetSales_USD[UnitPrice_USD] – (InternetSales_USD[DiscountAmount_USD]/InternetSales_USD[OrderQuantity]))

= STDEVX.S (West_Sales,West_Sales[Amount])

Related Courses

Loading