Calculates the running count of values from the first row up to the current row within a partition.
Category: window
Syntax:
Returns: Integer
Context Filtering: ✓ Yes
Parameters
| Name | Type | Required | Description |
|---|
column | column | ✓ Yes | The column to count values for |
Validation
- Minimum parameters: 1
- Maximum parameters: 1
Examples
Returns the running count of orders from the first row to the current row.
RunningCount([Customer_ID])
Calculates running count of customers, useful for tracking cumulative customer interactions over time.
RunningCount([Transaction_ID])
Tracks cumulative transaction count, showing how the count grows with each transaction.
Last modified on March 13, 2026