Skip to content

AGGREGATE 🟑 BETA

AGGREGATE reduces a list field to a single value.

Where BASIC scripting sits in the Developer guide

Syntax

AGGREGATE list, "field", "sum"

Example

AGGREGATE orders, "total", "sum"

What it does

AGGREGATE applies an operation such as sum to one field of a list and returns the result.

Limits

  • Registered with positional arguments only β€” the signature shown is the exact form; named arguments are not part of the keyword.
  • The operation name is passed as an argument β€” only operations implemented by the runtime are valid.