Query cumulative sum

    Given the following input table:

    _time_value
    00011
    00023
    00034
    00047

    The examples below use the example data variable.

    Calculate the running total of values

    aggregateWindow() expects an aggregate function that returns a single row for each time window. To use with aggregateWindow, use sum in , then calculate the running total of the aggregate values with cumulativeSum().