RUNNINGTOTALBY

Calculates a running total when grouped by a partition column

RUNNINGTOTALBY(column, partition column)

Returns the running totals in a column partitioned by a partition column

Arguments

Argument

Description

column

Column on which to compute the running total. Must be numeric.

partition column

Column on which to partition the data.

Output

Running totals of input Column

Example

Last updated