Every analysis starts at the Data Source page. Tableau connects to files, databases and cloud services, and gives you several ways to combine tables — relationships, joins, unions and blends. Choosing the right one (and live vs extract) shapes performance and correctness.
Connecting
Pick a connector (Excel, CSV, SQL Server, Snowflake, Google Sheets…). Tableau shows the tables; you drag them onto the canvas to build your data source, then head to a worksheet to analyse.
Joins & relationships
- Relationships (the modern default) — drag two tables together and Tableau keeps them at their own granularity, joining flexibly per view. Best for most cases.
- Joins (inner/left/right/full) — physically combine rows into one table at a fixed grain, like SQL joins. Use when you need a specific join behaviour.
Unions
A union stacks tables with the same columns on top of each other — twelve monthly files into one dataset, or this year's and last year's exports. It adds rows, not columns.
Data blending
Blending combines data from different data sources at the sheet level, matching on a common field. It's a last-resort when tables can't be joined (different databases) — it aggregates each source separately, which can surprise you.
Live vs Extract
| Mode | How it works | Best for |
|---|---|---|
| Live | Queries the source on every action | Real-time data, fast databases |
| Extract (.hyper) | A compressed snapshot in Tableau's fast engine | Speed, offline, slow/limited sources |
Practice
Connect to an Excel file and a database table. Combine two tables with a relationship, then compare with an explicit left join. Union a folder of monthly CSVs into one source. Create an extract and note the speed difference versus live.
Key takeaways
- 01Connect via the Data Source page; drag tables to build the source.
- 02Relationships (flexible, per-view) are the modern default; joins physically combine at a fixed grain.
- 03Unions stack same-shaped tables (add rows); blending combines different sources at the sheet level.
- 04Prefer relationships to avoid duplicate-row/wrong-total issues from mixed granularity.
- 05Live queries the source each time; an Extract (.hyper) is a fast snapshot — use extracts for speed.
