math module · Aggregation Function

math::sum

Calculate the sum of numeric values across multiple rows.

Syntax

RQL

Parameters

NameTypeDescription
valueNumberThe numeric field to sum

Return Value

Returns the total sum of all values in the group.

Examples

Calculate total revenue

$ Calculate total revenue
$ ctrl+enter to run

Multiple aggregations

$ Multiple aggregations
$ ctrl+enter to run
Info
This is an aggregation function. Use it with the aggregate transform to compute values across multiple rows.

Related Functions