Shape data
Joined Datasets
A Joined Dataset combines Datasets without SQL. You can line rows up side by side on a shared key, such as invoices next to their customers, or stack similar tables on top of each other. Classic widgets and Modified Datasets can read the result.
Who can use Joined Datasets
Section titled “Who can use Joined Datasets”Joined Datasets follow the same rule as Modified Datasets. If your Company already has a Joined or Modified Dataset, you can open, edit and create them. If it has neither, the options to create them don’t appear. Join data in a Query Dataset instead, or ask Eric to do it for you.
Create a Joined Dataset
Section titled “Create a Joined Dataset”- Go to Settings → Datasets and click Add Dataset.
- In Choose a source, pick Join Datasets.
- In the first block, choose a Dataset, then the Columns to include.
- Click Join Dataset to add a dataset side by side, or UNION ALL to stack one underneath.
- For a join, choose the join type and the columns to match on. See Join settings.
- Enter a Joined Dataset Label.
- Click Preview to check the result, then Save & Close.
Each block can read a Dataset, another Joined Dataset or a Modified Dataset. Stashes and Query Datasets can’t be joined here.
Join settings
Section titled “Join settings”| Join type | Keeps |
|---|---|
| LEFT JOIN | Every row so far, plus matching rows from the new dataset. This is the default. |
| INNER JOIN | Only rows that match on both sides. |
| RIGHT JOIN | Every row from the new dataset, plus matching rows so far. |
| FULL OUTER JOIN | Every row from both sides. |
Under ON, pick a column from an earlier block on the left and the matching column from the new dataset on the right.
- Click Add Condition to match on more than one column, such as
DateandCustomer ID. - On an added condition, click C to compare against a fixed text value instead of a column, such as
Typeequal toService. - The columns you match must have the same data type. A text ID never matches a number ID.
UNION ALL stacks every row of the new dataset under the rows above it. Pick columns that mean the same thing and have the same types on both sides.
Filter before joining
Section titled “Filter before joining”Click the funnel button beside a block’s Dataset to filter it with the Filter Builder before it’s joined. Filtering early keeps the join fast. Date conditions in these filters use UTC.
Columns and settings
Section titled “Columns and settings”- Columns to include chooses each block’s columns. Reorder Columns changes their order.
- Edit Column Labels renames columns in the result. When two blocks have a column with the same name, the dataset’s name is added to the front so both survive. Give them clearer labels here.
- Description documents the Joined Dataset for your team.
- Row Limit caps how many rows the result keeps. New Joined Datasets start at 1,000,000.
- Don’t Update on Template Application stops a template from overwriting this Joined Dataset.
When a Joined Dataset stops updating
Section titled “When a Joined Dataset stops updating”A Joined Dataset is inactive when any dataset in it is inactive, including a Modified Dataset whose own source is inactive. Widgets that use it stop updating until you resync the inactive Dataset. See Dataset states.
Remove columns safely
Section titled “Remove columns safely”When an edit removes columns that something else uses, Columns Being Removed lists the affected Modified Datasets, Joined Datasets, widgets (grouped by dashboard) and Filter Variables. Click Cancel to go back or Save Anyway to continue.
- Match types first. If a key is text in one dataset and a number in the other, convert one with a Modified Dataset before joining.
- Clean up first. Fill nulls or split tags in a Modified Dataset, then join that.
Related
Section titled “Related”- Query Datasets, for joins with SQL and for new work.
- Modified Datasets
- Datasets