Shape · Combine tables
Lookup
Adds columns from a reference table to every row by matching one key, like Excel's VLOOKUP. Rows without a match stay, with blanks.
Also known as: VLOOKUP, XLOOKUP, find and replace
How it works
Wire the table to enrich into left and the reference table into right, then pick the Left key and Right key. Under Columns to bring in choose the reference columns to add, or leave it empty for every non-key column of the reference. Every left row is kept; a row with no match gets nulls in the added columns, and the row count never changes. When both keys share a name the key appears once. If a key value appears more than once in the reference table the run stops with an error naming it, so a dirty code list cannot multiply your rows; null keys never match. For anything else, such as range keys or inner joins, use Join.
Inputs and outputs
Inputs
left— Tableright— Table
Outputs
data— Table
Settings
The Attributes panel of Lookup, as in the app: the controls work, but nothing runs — there is no data behind it.
The same settings, as the Assistant writes them
{
leftKey: string
rightKey: string
pickColumns: string[]
}always LEFT JOIN; pickColumns empty = all non-key right columns
Example
Order lines carry a sku and the product master has sku, name, category and cost. Set both keys to sku and bring in name and category.