Rollups and aggregation

Rollups and aggregation share the same set of operators, but have different meanings. Rollups are how multiple values (rows) from the same data source are combined. Aggregation is the combination of data values from multiple data sources.

Functions

Function Description
And Logical “and”.
Avg The sum of all values in the data set divided by the count.
count The number of values in the data set.
first The first value retrieved by the framework
last The last value retrieved by framework
max The largest value in the data set.
min The smallest value in the data set.
Or Logical “or”.
Mode The statistical mode is the most frequently occurring number in the combination
Median The value in the middle of a sorted numeric data set. This number separates the higher half from the lower half of the set.
Range The statistical range is the difference between the largest and smallest values in the numeric data set.
Sum All values added together.