> ## Documentation Index
> Fetch the complete documentation index at: https://docs.askgrapple.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Rollup

> Aggregate across mapped data

Use `/rollup` to aggregate values from nested or joined data on each row.

## How to use

1. Type `/rollup` and press **Space**.
2. Describe the aggregation — for example, *"total amount of succeeded payments"* or *"count of open tickets"*.
3. Grapple creates one new column with the rolled-up value.

Rollups are useful when your project joins related collections and you need a summary per row — like total revenue from a list of line items.

## Formula vs rollup

| Skill      | Best for                             |
| ---------- | ------------------------------------ |
| `/formula` | Calculations within a single row     |
| `/rollup`  | Aggregating related records on a row |
