Last updated
Last updated
An aggregate formatter calculates a set of values and returns a single value. For example, the average :aggAvg
takes a list of values and returns the average.
The following aggregators are available:
returns the sum of all values in a set.
returns the average of a set.
returns the minimum value in a set.
returns the maximum value in a set.
returns the number of items in a set.
the cumulative sums, also known as running totals, returns the total sum of data as it grows with series.
Aggregators can be printed as standalone expressions or can be part of loops to compute custom grouping clauses, e.g., sub-totals, cumulative totals.