Skip to content

CovarPop

Description

CovarPop returns the population covariance of two numeric expressions.

Syntax

CovarPop(value1, value2)

Parameters

Parameter Required Type Description
value1 Yes Field or expression First numeric expression.
value2 Yes Field or expression Second numeric expression.

Notes

Aggregate functions are commonly used in metric definitions and grouped query results.

Example

CovarPop(SalesAmount, Profit)

The expression returns the calculated result according to the current query context.