Returns the subtotal for an aggregate expression or column using the specified mode and, optionally, partition/group columns.
Category: aggregate
Syntax:
Returns: Float
Context Filtering: ✗ No
Parameters
Validation
- Minimum parameters: 2
- Maximum parameters: 3
Examples
Returns subtotal average price for each Product Type column.
Returns subtotal of [Revenue] column for each Region. Last modified on March 13, 2026