> For the complete documentation index, see [llms.txt](https://docs.cascade.io/cascade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cascade.io/cascade/functions-and-expressions/functions/aggregate/runningtotalby.md).

# RUNNINGTOTALBY

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

{% embed url="<https://datawrapper.dwcdn.net/2moqL/1/>" %}
