Skip to content

Lookup fields: a window onto a linked value

A lookup shows a field from the records at the other end of a link. It is read-only, always current and never copied. What it can show, and how it filters.

Updated November 2026

A lookup shows, on this table, a field that belongs to the records at the other end of a link. The demo shop's Orders table has Customer email. Each order shows its customer's address without anyone copying it, and when the customer record changes, every order showing it is already right.

Make one

A lookup needs the link to exist first, and a table with no link fields will say so and send you to add one. The link has to be filled in too, because a lookup shows a value wherever the link cell points at a record and nothing wherever the link cell is empty. If the values that would match are already in a text field, linked records explains how to turn that field into a filled link in one pass.

  1. Add a field and choose Lookup.
  2. In Through, pick the link field to look across.
  3. In Field, pick the field on the linked table to show.

If you leave the name blank, the lookup is named after what it shows, for example Status (from Projects). A table with three lookups through three different links then has three names you can tell apart, where it would otherwise have Field 7, 8 and 9. If you type a name, yours is used.

The lookup takes its type from the field it shows. An email lookup filters as text, a price lookup as a number, and a date lookup as a date. There's a third, optional row, "Only linked records that match feed this lookup". It sets a condition on the linked table, for things like the email of the linked contact, but only contacts marked primary.

You can edit all three choices later. Changing what a lookup shows is an ordinary edit, and you don't have to delete the field and add it again.

What it can show

Text, number, date and checkbox fields come through as themselves. Richer fields come through in their display form. A select comes through as its own colored chips, with the same colors, in the same order, as in the table it came from. A member comes through as the person, an attachment as read-only thumbnails, and a link as clickable record chips, which lets you see across two tables.

A lookup can show another lookup, a rollup or a formula. Orders links to Customers, Customers looks up its city's name from Cities, and Orders can look up that, so the city reaches the order without a link between them. A lookup of a rollup shows the total each linked record works out, such as a client that lists each of its projects' Total paid. A chain can reach up to three tables away, and Tabla refuses one more, or a chain that would loop back to itself, when you save. A chained lookup takes its type from the field at the far end (a date two tables away is still a date), and any filter on a lookup in the middle still applies.

The lookup in the middle can show a select, a member, an attachment or a link too. When each post in an Analytics table links to its episode, and Episodes looks up the thumbnail from the episode's YouTube post, Analytics can look up that thumbnail and show it, with a preview when you open it. Linked records shown this way are still chips that open the record. A link at the end of a chain counts toward the three tables, because its chips name records one table further on. A rollup can't add up a lookup like this, since there's no number or date in it.

The value keeps its presentation, so a lookup of a currency field reads $45, not 45.

A lookup is read-only everywhere: in the cell, in the record panel and over the API. The value belongs to the linked record, and you edit it there. Chips and thumbnails that a lookup shows still open and preview, but they can't be edited from the lookup.

Through a single link the lookup shows one value. Through an allow many link it shows one value per linked record, so an order's lookup of plant prices reads $45, $28. Records in the trash disappear from the lookup immediately and return if restored.

Filtering, grouping and sorting

When a lookup shows a plain value (text, number, date or checkbox), you can filter by it like an ordinary field. Customer email contains @gmail. works in views and over the API. When it shows a select, a member field that allows multiple people, a link or an attachment, the value is display text assembled at read time, and it can't be filtered or sorted. The filter panel doesn't list it, and over the API the field has no operators.

Grouping does work. A grid groups by a lookup, on the value it borrows. When a lookup borrows several values, its record is grouped under the full set, so an order whose plants look up Full sun, Bright indirect goes in one group of that name.

A lookup that shows a plain value sorts by its first value, which is the one its cell shows first, in the link's own order. Text sorts the way a person alphabetizes it. A lookup of a select, a member field that allows multiple people, a link or an attachment doesn't sort, for the same reason it doesn't filter. It reads as display text with nothing to compare. To sort by a borrowed number across several linked records, use a rollup, which says which number to use (the largest, the total).

What Tabla refuses to delete or change

Tabla refuses, by name, anything that would leave a lookup with nothing to read. That means deleting the link it reads through (…the lookup/rollup field "Customer email" rides this link. Delete "Customer email" first.), deleting the field it shows, or changing that field's type. Adjust or delete the lookup first, and then you can do the rest.

Over the API

A lookup reads under its own field name, in the shape of what it shows. Here that is plain text:

"Customer": [{ "id": "rec_gs8683t5vvcn", "display": "Nour El-Sayed" }],
"Customer email": "nour.elsayed@example.com"

Writing to it is refused, because it's computed and there is nothing to assign. See /docs/api.

When a rollup is the field you meant

A lookup shows values and never does arithmetic on them. When the question is how many, how much, latest across the linked records, you want a rollup. The rule of thumb is a lookup for one → one and a rollup for one → many, and lookup vs rollup makes the full case for it.

About Tabla

Tabla is a no-code database with Postgres underneath. Every feature is on every plan, you get a million records per database, and you can export your whole database in one file any day.

More guides