Skip to main content
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

Validation

  • Minimum parameters: 1
  • Maximum parameters: 1

Examples

Returns the running count of orders from the first row to the current row.
Calculates running count of customers, useful for tracking cumulative customer interactions over time.
Tracks cumulative transaction count, showing how the count grows with each transaction.
Last modified on March 13, 2026