Aggregate

Works a list down to a single value.

Fields

FieldTypeRequiredWhat it does
itemsjsonatayesExpression producing the list.
operationone of: count, sum, avg, min, max, first, last, joinWhat to work out. Defaults to count.
fieldjsonataWhich value of each item to use, for example price. Only count can do without it.
separatorstringjoin only: what goes between values.

Output

value, operation, from

Notes

Gaps are skipped rather than counted as zero, and a value that is not a number stops the node and names itself. An empty list gives 0 for sum and count, and null for the rest.