Calculates rolling or static window sum
WINDOWSUM(column, window size / static window start, static window end)
column
window size / static window start
static window end
Returns a rolling or static window sum from a given column
Argument
Description
Column on which to compute the window sum. Must be numeric.
Size of rolling window calculation. If two window values are provided, this is the 1st row number for the static window calculation.
Optional, default is None. 2nd row number for static window calculation.
None
Window sum(s).
Last updated 3 years ago
Was this helpful?