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

Function covarp

covarp( attributeA, attributeB, name?): CalculatedMeasure

Calculates the covariance between two given numeric attributes across the entire population (all items).

Parameters

ParameterTypeDescription
attributeAAttributeFirst attribute.
attributeBAttributeSecond attribute.
name?stringOptional name for the new measure.

Returns

CalculatedMeasure

A measure instance.

Example

Returns the covariance (population) between Revenue and Cost

measureFactory.covarp(DM.Commerce.Revenue, DM.Commerce.Cost)
Last Updated: