Tableau Course
Data Blending in Tableau
Data blending lets you combine data from two completely separate sources — such as an Excel file and a Google Sheets document — in the same view, even when a direct join or relationship is not possible.
What Data Blending Is
A data blend is not a join. Joins and Relationships physically or logically combine tables that share the same connection. Data blending works differently — it queries two separate data sources independently, aggregates each result, and then combines those aggregates in the view at the worksheet level.
The most common scenario for blending is when your primary data lives in one system — say a company database — and supplementary data lives in another — say a regional target spreadsheet sent by the finance team. You cannot join them because they are in different systems. Data blending lets you bring them together in Tableau without moving the data.
Primary vs Secondary Source
In any blend, one data source is the primary and the other is the secondary. This distinction matters because blending is not symmetrical — the two sources are treated very differently.
The Blend Link Field
For a blend to work, both sources must share at least one common Dimension — a field with matching values in both. This is the blend link field. For example, if both sources contain a Region column with the same four values (East, West, Central, South), Tableau can align the two sources on Region.
Tableau usually detects the link field automatically when field names match exactly. You can see and manage link fields in the Data pane — they appear as an orange chain-link icon next to the field name in the secondary source. Clicking the icon toggles the link on or off.
Setting Up a Blend — Step by Step
The goal here is to blend Superstore Sales data with a separate regional Sales Targets spreadsheet, so you can compare actual Sales vs Target by Region in the same chart.
How Blending Aggregates Data
Understanding the aggregation behaviour of blending is critical — it is the most common source of incorrect numbers in a blended view. Here is exactly what happens under the hood:
Blending vs Joining vs Relationships
| Method | Combines | Row-level access | Cross-source | Best for |
|---|---|---|---|---|
| Join | Tables in same source | Yes | No | Same-connection table merges |
| Relationship | Tables in same source | Yes | No | Same-connection multi-table analysis |
| Data Blend | Separate data sources | No — aggregates only | Yes | Combining data that cannot be joined |
Common Blending Problems
Editing Blend Relationships Manually
When Tableau cannot detect the link automatically — because field names differ — you configure it manually. Go to Data → Edit Blend Relationships. A dialog lists all data source pairs and lets you specify custom field mappings between them. For example, map "Region" in the primary to "Sales Region" in the secondary. Once saved, Tableau uses this mapping for all blended worksheets in the workbook.
Data blending is one of Tableau's older features — it predates Relationships and was the original solution for cross-source analysis. It works well for its specific use case: bringing in a small supplementary aggregated dataset from another source. But it has real limitations. You cannot use row-level secondary fields, the asterisk problem catches many beginners off guard, and blends can be slow on large secondary sources. If you find yourself doing complex analysis that requires row-level data from both sources, the right answer is to combine those sources upstream — in a database, in Tableau Prep, or in Excel — and connect to the merged result as a single source. Use blending as a quick bridge, not a permanent architecture.
Practice Questions
1. In a data blend, which source automatically becomes the one whose Dimensions drive the view — determined by whichever source you use first in the worksheet?
2. When the link field has different names in two data sources, where do you go in Tableau to manually specify the field mapping for a blend?
3. What symbol does Tableau display instead of a number when the secondary source has more granularity than the primary and cannot aggregate to a single value per Dimension member?
Quiz
1. How does Tableau combine data from two sources in a blend?
2. What is the key advantage of data blending over joins and relationships?
3. A blended view shows asterisks (*) where secondary measure values should appear. What does this indicate?
Next up — Lesson 14: Relationships in Tableau — the modern way to combine tables that preserves each table's granularity and prevents row duplication.