aggregate
Syntax:
Float
Context Filtering: ✗ No
Parameters
Validation
- Minimum parameters: 2
- Maximum parameters: 3
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
aggregate
Syntax:
Subtotal([aggregate_or_column], mode, |partition_by_column|)
Float
Context Filtering: ✗ No
| Name | Type | Required | Description |
|---|---|---|---|
aggregate_or_column | any | ✓ Yes | The aggregate function (e.g., Sum([Amount])) or column to subtotal. If a column is provided, it will be used directly. |
mode | text | ✓ Yes | Subtotal mode (‘grand_total’, ‘column’, ‘row’, etc.). |
partition_by_column | column | ✗ No | Partition/group column for subtotal (required for some modes). |
Subtotal(Avg([Price]), "column", [ProductType])
Subtotal([Revenue], "column", [Region])