Functions
SCAN
Returns running accumulation using a LAMBDA
Try it
When to use it
When should I use SCAN?
Use SCAN to compute running accumulations across an array using a LAMBDA, returning an array of intermediate accumulated values rather than just the final result.
Used in
Syntax
SCAN(initial_value, array, lambda)