Function Description
| Category | Description |
|---|---|
| Syntax | STDEV.P(number) |
| Function | Returns the standard deviation of the number values for the current analysis dimension. |
| Parameter | number: the numeric values used to calculate the standard deviation |
| Number of Parameters | 1 |
| Parameter Type | Number |
| Return Value Type | Number |
| Notes | Aggregate functions can be used only when you add a metric to a chart. They cannot be used in analysis tables. |
Examples
When the date field in Row Dimension is set to day granularity, the metric STDEV.P([Sales Volume]) returns the standard deviation of sales volume for each day.
When the date field in Row Dimension is set to month granularity, the metric STDEV.P([Sales Volume]) returns the standard deviation of sales volume for each month.