Add columns through Lookup
A Lookup is an action that allows you to connect related columns between two data elements, bringing the data from one element to another. The two elements are joined by a pair of columns — one from each element — that share common values. These joining columns are join keys.
To create a lookup column with a formula, add a calculated column and use the Lookup function. You can also add a lookup column using the Add Lookup modal, which is described below.
Requirements
- To create a lookup column, you must have Can Edit or Can Explore access on the workbook.
Notes
- Using the Lookup function or the Add Lookup modal, you can perform a “self-lookup” - a lookup where both the related key and local key are in the same data element.c
- When performing a lookup between two data elements, the following requirements apply:
- Both elements must be in the same workbook
- Both elements must be sourced from the same connection
- The element you are joining to cannot be a child of the element you are joining from
Add a column through Lookup
To add a lookup column:
- Open the workbook for editing.
- Select the data element that you want to add a column to.
- Next to any column’s name, click the caret icon to open the column menu.
- Select Add column via > Lookup.
The Add Lookup modal opens.
- The first section, Which column would you like to add?, prompts you to select:
- A source element
- A column, from the source element, to use in your new column
- [optional] An aggregate value to apply to the column
- The second section, Map two elements, prompts you to define one or more sets of join keys.
- The first section, Which column would you like to add?, prompts you to select:
- Under Select element, select your source element. Elements are organized by their workbook pages.
- Under Column(s) to add, select the column you want to use in your new column.
- [optional] Under Aggregate, select an aggregate function to apply to the column’s values. Applying an aggregate function turns the Lookup into a Rollup.
- Under Map two elements, select a column from each data element to use as a join key.
- [optional] To add additional pairs of join keys, click +Add another mapping and repeat step 8.
- [optional] To match rows where the join keys on both sides are null, select Match null values.
By default, a
nullvalue never matches anothernullvalue, so rows with anulljoin key return no match. Selecting this option creates the column with the LookupMatchNulls function instead of the Lookup function. - Click Done.

