stdevif() (aggregation function)
Calculates the standard deviation of expr in records for which predicate evaluates to
Null values are ignored and don't factor into the calculation.
This function is used in conjunction with the summarize operator.
Learn more about syntax conventions.
|expr||string||✓||The expression used for the standards deviation aggregation calculation.|
|predicate||string||✓||The predicate that has to evaluate to
Returns the standard deviation value of expr in records for which predicate evaluates to
The following example shows the standard deviation in a range of 1 to 100.
range x from 1 to 100 step 1 | summarize stdevif(x, x % 2 == 0)