Link records, lookups and rollups
A spreadsheet keeps everything in one flat sheet and repeats itself. A database splits it up and connects the pieces. Three field types do the connecting: Link to record makes the connection, Lookup shows a value across it, and Rollup aggregates across it.
The worked example below builds the classic chain: Orders and Order lines, where each line computes its own amount, and the order totals them.
Link to record
Add a field of type Link to record and pick the object it points at. One decision matters:
| Kind | Meaning |
|---|---|
| One | Each record links to at most one record in the other object. An order line belongs to exactly one order. |
| Many | Each record links to any number. A project links to several tags. |
Pick one when the thing really does have a single parent. It's not just stricter — it's what makes the parent's rollups possible, and it stops a child from hanging off two parents at once.
Cells then get a record picker: search the target object by its primary field, pick existing records, or create a new one inline without leaving the row. Linked records show as chips carrying the target's primary field.
Long link lists
A cell with hundreds of links shows the first twenty chips and a true count. Expand the record to page through the rest — the count is always the real one, not "20+".
The reverse field
When you create a one link, tick Add a field to the other object (or set its inverse label). That gives the parent a mirrored has many field: an Order gets an Order lines field listing the lines that point at it.
The mirror is a real, live view of the relationship — not a second copy of it. Edit either side and both update.
Two behaviours to know when you edit the parent's mirrored field:
- Adding a child re-parents it. A child has exactly one parent, so dragging a line into another order moves it there.
- Removing a child unlinks it — it never deletes it. The line survives with no order. Deleting is always your explicit call. (If the child's own link field is required, the unlink is refused instead of leaving an invalid record behind.)
Lookup
A Lookup field shows a field from the linked records — no typing, no drift.
On Order lines, add a Lookup:
- Through → the
Orderlink field, - Field →
Customeron the Order.
Every line now shows its order's customer, and it follows the order if the customer changes.
A lookup keeps the format of the field it borrows. A looked-up price renders as money, not as a bare number, because the currency setting travels with it.
Rollup
A Rollup aggregates a field across the records on the other end of a link. Add it on the side that has many — the Order, not the line.
| Setting | Example |
|---|---|
| Through | The Order lines field |
| Field | Amount on the line |
| Function | sum · count · avg · min · max |
Count in the field-type list is the same field with the function preset to count — use it when you only want "how many".
Conditions
A rollup can be restricted to some of the linked records. Add up to ten conditions — "count tickets where Status is not Done", "sum lines where Cancelled is unchecked" — using is · is not · > · ≥ · < · ≤ · contains · is empty · is not empty.
Conditions read the target's own stored fields. A change to a field a condition tests refreshes the rollup, so flipping a ticket to Done drops it out of the count straight away.
Non-numeric sources
sum, avg, min and max need numbers. A value that isn't numeric contributes nothing rather than breaking the field, so a rollup that comes back empty usually means it's pointed at a text field.
The chain, end to end
Put together, the example becomes:
- Order line → Amount — a formula:
quantity × unit price. - Order → Total — a rollup:
sumofAmountthroughOrder lines. - Order → Balance — a formula over the rollups:
Total − Paid.
Edit a quantity on any line and all three recalculate — the line's amount on save, then the order's total, then the balance. It works from either end: deleting a line updates the total too, because the order is told the contributor left.
Good to know
- Computed fields are never typed into. Lookup, rollup, formula and AI cells are read-only in the grid; you change them by changing their inputs.
- A field that can no longer compute clears itself. If you retype or delete a field a lookup reads, the dependent cells empty out rather than keeping a stale value that still looks derived.
- Deleting either side of a link cleans up the other. Remove a link field and the mirrored field on the other object goes with it.
- Bulk edits propagate. Filling five hundred lines at once refreshes every parent, same as one edit at a time.
Next
- Formulas and AI fields — the computed fields you write yourself.
- Views, filters and grouping — including the
is linked tofilter.