# Calculate across rows

Shape / table

running total, lag, lead, moving average, multi-row formula

Page: <https://meridian.online/operations/calculate-across-rows>

## Status

Runs as a SQL step.

arcform carries it as a `sql:` step today.

## The DuckDB step

running total, lag and moving average

It reads the `orders` table the proofs share. Create it first:

```sql
CREATE TABLE orders AS SELECT * FROM (VALUES
  (1,  'Alice Ng',      'north', DATE '2026-01-03', 120.00, 'widget', 'a|b',   '{"channel":"web","items":[1,2]}'),
  (2,  'alice ng',      'north', DATE '2026-01-05',  80.50, 'gadget', 'b',     '{"channel":"shop","items":[3]}'),
  (3,  'Bob  Okafor',   'south', DATE '2026-01-05', 300.00, 'widget', 'a|c',   '{"channel":"web","items":[4,5,6]}'),
  (4,  'Carla Díaz',    'east',  DATE '2026-01-09',  NULL,  'gizmo',  NULL,    '{"channel":"web","items":[]}'),
  (5,  'Bob Okafor',    'south', DATE '2026-01-12',  45.25, 'gadget', 'c',     '{"channel":"phone","items":[7]}'),
  (6,  'Dev Patel',     'west',  DATE '2026-01-12', 510.00, 'widget', 'a',     '{"channel":"web","items":[8,9]}'),
  (7,  'Carla Diaz',    'east',  DATE '2026-01-20',  99.99, 'gizmo',  'b|c',   '{"channel":"shop","items":[10]}'),
  (8,  'Dev Patel',     'west',  DATE '2026-02-02', 510.00, 'widget', 'a',     '{"channel":"web","items":[8,9]}'),
  (9,  'Eve Larsen',    NULL,    DATE '2026-02-03',  15.00, 'gadget', NULL,    '{"channel":"web","items":[11]}'),
  (10, 'Alice Ng',      'north', DATE '2026-02-10', 220.00, 'gizmo',  'a|b|c', '{"channel":"phone","items":[12,13]}')
) t(order_id, customer, region, order_date, amount, product, tags, meta);
```

Then run the statement:

```sql
CREATE TEMP TABLE result AS
SELECT order_id, order_date, amount,
       sum(amount) OVER w_run AS running_total,
       lag(amount) OVER (ORDER BY order_date, order_id) AS previous,
       round(avg(amount) OVER (ORDER BY order_date, order_id ROWS BETWEEN 2 PRECEDING AND CURRENT ROW), 2) AS moving_avg_3
FROM orders
WINDOW w_run AS (ORDER BY order_date, order_id ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW);
SELECT * FROM result;
SELECT CASE WHEN ((SELECT max(running_total) FILTER (WHERE order_id = 10) = 1900.74 AND max(previous) FILTER (WHERE order_id = 2) = 120 AND max(moving_avg_3) FILTER (WHERE order_id = 3) = 166.83 FROM result)) THEN 'as expected' ELSE error('the running total, the previous value or the moving average is wrong') END AS verdict;
```

It needs nothing installed beyond DuckDB itself.

## Variants

- Define the window: Set the partition, order and frame a window calculation runs over, or apply a general window step or function family.
- [Repeat a group total on every row](https://meridian.online/operations/calculate-across-rows/group-total-on-every-row): Aggregate over the whole partition or table and put the result on every row, for shares of total and comparisons with the group.
- [Compute a moving average](https://meridian.online/operations/calculate-across-rows/moving-average): Aggregate over a window of a fixed number of rows, or a span of time, that slides along with the current row.
- [Take a value from another row](https://meridian.online/operations/calculate-across-rows/value-from-another-row): Bring a value from a row a fixed offset before or after the current one, or from the first, last or nth row of the window, often to compute a difference or percentage change.
- [Compute a running total](https://meridian.online/operations/calculate-across-rows/running-total): Accumulate a sum, count, average, minimum or maximum from the first row of the partition down to the current row.
- [Assign session ids](https://meridian.online/operations/calculate-across-rows/assign-session-ids): Number the sessions in ordered events, starting a new session whenever the gap between consecutive timestamps exceeds a limit.
- [Group streaming rows into time windows](https://meridian.online/operations/calculate-across-rows/stream-time-windows): Assign rows of a stream to fixed, sliding or session windows of event time, so later steps emit one result per window.

## What other tools call it

Meridian's classification; an independent blind rating agreed on 86.2% of 312 rows (exact class, version 2).

- Azure Data Factory: [`Window`](https://learn.microsoft.com/en-us/azure/data-factory/data-flow-window) (read 2026-09-27)
- Azure Data Factory: [`Window functions`](https://learn.microsoft.com/en-us/azure/data-factory/data-flow-window-functions) (read 2026-09-27)
- Alteryx Designer: [`Multi-Row Formula`](https://help.alteryx.com/current/en/designer/tools/preparation/multi-row-formula-tool.html) (read 2026-09-27)
- Alteryx Designer: [`Running Total`](https://help.alteryx.com/current/en/designer/tools/transform/running-total-tool.html) (read 2026-09-27)
- Bruin: [`lag`](https://getbruin.com/docs/bruin/core-concepts/semantic-layer.html) (read 2026-09-27)
- Bruin: [`lead`](https://getbruin.com/docs/bruin/core-concepts/semantic-layer.html) (read 2026-09-27)
- Bruin: [`percent_of_total`](https://getbruin.com/docs/bruin/core-concepts/semantic-layer.html) (read 2026-09-27)
- Bruin: [`running_total`](https://getbruin.com/docs/bruin/core-concepts/semantic-layer.html) (read 2026-09-27)
- Apache DataFusion: [`WINDOW clause`](https://datafusion.apache.org/user-guide/sql/select.html) (read 2026-09-27)
- Apache DataFusion: [`Window Functions: Custom Window`](https://datafusion.apache.org/user-guide/features.html) (read 2026-09-27)
- Apache DataFusion: [`Window Functions: Empty (OVER())`](https://datafusion.apache.org/user-guide/features.html) (read 2026-09-27)
- Apache DataFusion: [`Window Functions: Partitioning and ordering`](https://datafusion.apache.org/user-guide/features.html) (read 2026-09-27)
- Apache DataFusion: [`first_value`](https://datafusion.apache.org/user-guide/sql/window_functions.html) (read 2026-09-27)
- Apache DataFusion: [`lag`](https://datafusion.apache.org/user-guide/sql/window_functions.html) (read 2026-09-27)
- Apache DataFusion: [`last_value`](https://datafusion.apache.org/user-guide/sql/window_functions.html) (read 2026-09-27)
- Apache DataFusion: [`lead`](https://datafusion.apache.org/user-guide/sql/window_functions.html) (read 2026-09-27)
- Apache DataFusion: [`nth_value`](https://datafusion.apache.org/user-guide/sql/window_functions.html) (read 2026-09-27)
- Apache DataFusion: [`window`](https://docs.rs/datafusion/latest/datafusion/dataframe/struct.DataFrame.html) (read 2026-09-27)
- DuckDB: [`WINDOW (clause)`](https://duckdb.org/docs/current/sql/query_syntax/window) (read 2026-09-27)
- DuckDB: [`Window Functions (family)`](https://duckdb.org/docs/current/sql/functions/window_functions) (read 2026-09-27)
- DuckDB: [`first_value`](https://duckdb.org/docs/current/sql/functions/window_functions) (read 2026-09-27)
- DuckDB: [`lag`](https://duckdb.org/docs/current/sql/functions/window_functions) (read 2026-09-27)
- DuckDB: [`last_value`](https://duckdb.org/docs/current/sql/functions/window_functions) (read 2026-09-27)
- DuckDB: [`lead`](https://duckdb.org/docs/current/sql/functions/window_functions) (read 2026-09-27)
- DuckDB: [`nth_value`](https://duckdb.org/docs/current/sql/functions/window_functions) (read 2026-09-27)
- Duckle: [`Cumulative`](https://github.com/slothflowlabs/duckle/blob/f85f8960edfb6efbf4cb89d58a7b32e16df0e867/website/docs/components.html) (read 2026-09-25)
- Duckle: [`First Value`](https://github.com/slothflowlabs/duckle/blob/f85f8960edfb6efbf4cb89d58a7b32e16df0e867/website/docs/components.html) (read 2026-09-25)
- Duckle: [`Lag`](https://github.com/slothflowlabs/duckle/blob/f85f8960edfb6efbf4cb89d58a7b32e16df0e867/website/docs/components.html) (read 2026-09-25)
- Duckle: [`Last Value`](https://github.com/slothflowlabs/duckle/blob/f85f8960edfb6efbf4cb89d58a7b32e16df0e867/website/docs/components.html) (read 2026-09-25)
- Duckle: [`Lead`](https://github.com/slothflowlabs/duckle/blob/f85f8960edfb6efbf4cb89d58a7b32e16df0e867/website/docs/components.html) (read 2026-09-25)
- Duckle: [`Sessionize`](https://github.com/slothflowlabs/duckle/blob/f85f8960edfb6efbf4cb89d58a7b32e16df0e867/frontend/src/workflow-ui/palette-data.ts) (read 2026-09-25)
- Duckle: [`Tumbling Window`](https://github.com/slothflowlabs/duckle/blob/f85f8960edfb6efbf4cb89d58a7b32e16df0e867/frontend/src/workflow-ui/palette-data.ts) (read 2026-09-25)
- Duckle: [`Window Aggregate`](https://github.com/slothflowlabs/duckle/blob/f85f8960edfb6efbf4cb89d58a7b32e16df0e867/website/docs/components.html) (read 2026-09-25)
- EasyMorph: [`Distribute total`](https://help.easymorph.com/doku.php?id=transformations:distributetotal) (read 2026-09-27)
- EasyMorph: [`Running total`](https://help.easymorph.com/doku.php?id=transformations:runningtotal) (read 2026-09-27)
- EasyMorph: [`Shift column up/down`](https://help.easymorph.com/doku.php?id=transformations:shiftcolumn) (read 2026-09-27)
- EasyMorph: [`Sliding aggregation`](https://help.easymorph.com/doku.php?id=transformations:slidingaggregation) (read 2026-09-27)
- EasyMorph: [`Total/subtotals`](https://help.easymorph.com/doku.php?id=transformations:subtotal) (read 2026-09-27)
- Apache Hop: [`Analytic Query`](https://hop.apache.org/manual/latest/pipeline/transforms/analyticquery.html) (read 2026-09-27)
- Apache Hop: [`Beam timestamp`](https://hop.apache.org/manual/latest/pipeline/transforms/beamtimestamp.html) (read 2026-09-27)
- Apache Hop: [`Beam window`](https://hop.apache.org/manual/latest/pipeline/transforms/beamwindow.html) (read 2026-09-27)
- Ibis: [`Lag`](https://github.com/ibis-project/ibis/blob/05d2b293344e86cb41c1a426071734f7e270335a/ibis/expr/operations/analytic.py) (read 2026-09-27)
- Ibis: [`Lead`](https://github.com/ibis-project/ibis/blob/05d2b293344e86cb41c1a426071734f7e270335a/ibis/expr/operations/analytic.py) (read 2026-09-27)
- Ibis: [`NthValue`](https://github.com/ibis-project/ibis/blob/05d2b293344e86cb41c1a426071734f7e270335a/ibis/expr/operations/analytic.py) (read 2026-09-27)
- Ibis: [`WindowBoundary`](https://github.com/ibis-project/ibis/blob/05d2b293344e86cb41c1a426071734f7e270335a/ibis/expr/operations/window.py) (read 2026-09-27)
- Ibis: [`WindowFunction`](https://github.com/ibis-project/ibis/blob/05d2b293344e86cb41c1a426071734f7e270335a/ibis/expr/operations/window.py) (read 2026-09-27)
- KNIME Analytics Platform: [`Lag Column`](https://api.hub.knime.com/nodes/*RurwVi1VODgLDTQP?details=full) (read 2026-09-27)
- KNIME Analytics Platform: [`Moving Aggregator`](https://api.hub.knime.com/nodes/*JKPnK49gCJ_6tVwe?details=full) (read 2026-09-27)
- KNIME Analytics Platform: [`Moving Average`](https://api.hub.knime.com/nodes/*i6a4eZBqe7EBhz9G?details=full) (read 2026-09-27)
- Apache NiFi: [`AttributeRollingWindow`](https://nifi.apache.org/components/org.apache.nifi.processors.stateful.analysis.AttributeRollingWindow/) (read 2026-09-27)
- OpenRefine: [`facetCount(choiceValue, s facetExpression, s columnName)`](https://openrefine.org/docs/manual/grelfunctions#other-functions) (read 2026-09-27)
- Pentaho Data Integration: [`Analytic query`](https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/pdi-transformation-steps-reference-overview) (read 2026-09-27)
- Polars: [`DataFrame.rolling`](https://docs.pola.rs/api/python/stable/reference/dataframe/modify_select.html) (read 2026-09-27)
- Polars: [`DataFrame.shift`](https://docs.pola.rs/api/python/stable/reference/dataframe/modify_select.html) (read 2026-09-27)
- Polars: [`Expr.cum_count`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.cum_max`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.cum_min`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.cum_prod`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.cum_sum`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.cumulative_eval`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.diff`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.ewm_mean`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.ewm_mean_by`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.ewm_std`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.ewm_sum`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.ewm_sum_by`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.ewm_var`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.over`](https://docs.pola.rs/api/python/stable/reference/expressions/window.html) (read 2026-09-27)
- Polars: [`Expr.pct_change`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling`](https://docs.pola.rs/api/python/stable/reference/expressions/window.html) (read 2026-09-27)
- Polars: [`Expr.rolling_kurtosis`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_map`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_max`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_max_by`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_mean`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_mean_by`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_median`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_median_by`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_min`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_min_by`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_quantile`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_quantile_by`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_rank`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_rank_by`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_skew`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_std`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_std_by`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_sum`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_sum_by`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_var`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.rolling_var_by`](https://docs.pola.rs/api/python/stable/reference/expressions/computation.html) (read 2026-09-27)
- Polars: [`Expr.shift`](https://docs.pola.rs/api/python/stable/reference/expressions/modify_select.html) (read 2026-09-27)
- Polars: [`SQL functions: Window (group)`](https://docs.pola.rs/api/python/stable/reference/sql/functions/window.html) (read 2026-09-27)
- Polars: [`cum_count`](https://docs.pola.rs/api/python/stable/reference/expressions/functions.html) (read 2026-09-27)
- Polars: [`cum_fold`](https://docs.pola.rs/api/python/stable/reference/expressions/functions.html) (read 2026-09-27)
- Polars: [`cum_reduce`](https://docs.pola.rs/api/python/stable/reference/expressions/functions.html) (read 2026-09-27)
- Polars: [`cum_sum`](https://docs.pola.rs/api/python/stable/reference/expressions/functions.html) (read 2026-09-27)
- Polars: [`cum_sum_horizontal`](https://docs.pola.rs/api/python/stable/reference/expressions/functions.html) (read 2026-09-27)
- Polars: [`rolling_corr`](https://docs.pola.rs/api/python/stable/reference/expressions/functions.html) (read 2026-09-27)
- Polars: [`rolling_cov`](https://docs.pola.rs/api/python/stable/reference/expressions/functions.html) (read 2026-09-27)
- RapidMiner Studio: [`Generate Session ID`](https://docs.rapidminer.com/latest/studio/operators/extensions/Operator%20Toolbox/blending/attribute_generation/generate_session_id.html) (read 2026-09-27)
- RapidMiner Studio: [`Lag`](https://docs.rapidminer.com/latest/studio/operators/modeling/time_series/transformation/lag_series_with_default_lag.html) (read 2026-09-27)
- RapidMiner Studio: [`Moving Average Filter`](https://docs.rapidminer.com/latest/studio/operators/modeling/time_series/transformation/moving_average_filter.html) (read 2026-09-27)
- RapidMiner Studio: [`Windowing`](https://docs.rapidminer.com/latest/studio/operators/modeling/time_series/windowing/windowing.html) (read 2026-09-27)
- Tableau Prep: [`Difference From`](https://help.tableau.com/current/prep/en-us/prep_multirow_calculations.htm) (read 2026-09-27)
- Tableau Prep: [`Fixed LOD`](https://help.tableau.com/current/prep/en-us/prep_calculations.htm) (read 2026-09-27)
- Tableau Prep: [`LOOKUP`](https://help.tableau.com/current/prep/en-us/prep_function_reference.htm) (read 2026-09-27)
- Tableau Prep: [`Moving Calculation`](https://help.tableau.com/current/prep/en-us/prep_multirow_calculations.htm) (read 2026-09-27)
- Tableau Prep: [`Percent Difference From`](https://help.tableau.com/current/prep/en-us/prep_multirow_calculations.htm) (read 2026-09-27)
- Tableau Prep: [`RUNNING_AVG`](https://help.tableau.com/current/prep/en-us/prep_function_reference.htm) (read 2026-09-27)
- Tableau Prep: [`RUNNING_SUM`](https://help.tableau.com/current/prep/en-us/prep_function_reference.htm) (read 2026-09-27)
- Tableau Prep: [`Running Calculation`](https://help.tableau.com/current/prep/en-us/prep_multirow_calculations.htm) (read 2026-09-27)
- Tableau Prep: [`{ FIXED }`](https://help.tableau.com/current/prep/en-us/prep_function_reference.htm) (read 2026-09-27)
- Tableau Prep: [`{ PARTITION }`](https://help.tableau.com/current/prep/en-us/prep_function_reference.htm) (read 2026-09-27)
- Talend: [`tMemorizeRows`](https://help.qlik.com/talend/en-US/components/8.0/tmemorizerows/tmemorizerows-component) (read 2026-09-27)
- Talend: [`tWindow`](https://help.qlik.com/talend/en-US/components/8.0/processing/processing-component) (read 2026-09-27)
- Trifacta: [`NEXT Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`PREV Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`ROLLINGAVERAGE Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`ROLLINGCOUNTA Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`ROLLINGKTHLARGEST Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`ROLLINGKTHLARGESTUNIQUE Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`ROLLINGLIST Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`ROLLINGMAX Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`ROLLINGMAXDATE Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`ROLLINGMIN Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`ROLLINGMINDATE Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`ROLLINGMODE Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`ROLLINGMODEDATE Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`ROLLINGSTDEV Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`ROLLINGSTDEVSAMP Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`ROLLINGSUM Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`ROLLINGVAR Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`ROLLINGVARSAMP Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`SESSION Function`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/window-functions.html) (read 2026-09-27)
- Trifacta: [`Window`](https://help.alteryx.com/aac/en/trifacta-classic/reference/transformation-reference.html) (read 2026-09-27)
- Trifacta: [`Window Transform`](https://help.alteryx.com/aac/en/trifacta-classic/wrangle-language/language-appendices/transforms.html) (read 2026-09-27)
- VisiData: [`addcol-aggregate`](https://github.com/saulpw/visidata/blob/7609212ec2febafa9caba7183cbebfaf49627909/visidata/aggregators.py#L412) (read 2026-09-23)
- VisiData: [`addcol-delta`](https://github.com/saulpw/visidata/blob/7609212ec2febafa9caba7183cbebfaf49627909/visidata/experimental/rownum.py#L73) (read 2026-09-23)
- VisiData: [`addcol-window`](https://github.com/saulpw/visidata/blob/7609212ec2febafa9caba7183cbebfaf49627909/visidata/features/window.py#L63) (read 2026-09-23)
