aggregate
Syntax:
Float
Context Filtering: ✗ No
Parameters
Validation
- Minimum parameters: 1
- 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:
PercentOfTotal([aggregate_or_column], |mode|, |parameters|)
Float
Context Filtering: ✗ No
| Name | Type | Required | Description |
|---|---|---|---|
aggregate_or_column | any | ✓ Yes | The aggregate function (e.g., Sum([Sales])) or column to base percent calculations on. If a column is provided, it will be used directly. |
mode | text | ✗ No | Percent mode (‘grand_total’, ‘column’, etc.). |
parameters | any | ✗ No | Additional parameters for subtotal if available (such as partition/group column). |
PercentOfTotal(Sum([Sales]), "column", [Category])
PercentOfTotal([Revenue], "column", [Region])