Skip to main content
On this page

Kater SQL Functions Aggregations

Aggregations

An aggregation combines the values of many rows into one value for each group.

The Aggregations menu writes them. A measure is declared with one, such as MEASURE('sum__amount', KATER__SUM(orders.amount)). See Measures.

FunctionWhat it does
KATER__SUMThe total of the field’s values.
KATER__AVGThe average of the field’s values.
KATER__MINThe smallest value of the field.
KATER__MAXThe largest value of the field.
KATER__COUNTHow many rows have a value in the field.
KATER__COUNT_DISTINCTHow many different values the field has.
KATER__COUNT_TRUEHow many rows have TRUE in the field.
KATER__COUNT_FALSEHow many rows have FALSE in the field.
KATER__LISTThe field’s different values, as one text value.