sisense.com
✅ You are viewing documentation for the latest version of Compose SDK.
Version:

Function stdevp

stdevp( attribute, name?, format?): BaseMeasure

Calculates the standard deviation of the given numeric attribute based on the entire population (all items).

Note: Only numeric attributes are supported.

Parameters

ParameterTypeDescription
attributeAttributeAttribute to aggregate
name?stringOptional name for the new measure
format?stringOptional numeric formatting to apply using a Numeral.js format string. Format only applies to queries, visualizations (e.g charts) may apply their own formatting to query results.

Returns

BaseMeasure

A measure instance

Example

Calculate the standard deviation (population) of the cost attribute.

measureFactory.stdevp(DM.Commerce.Cost)
Last Updated: