Data Blending in Tableau

Data Blending in Tableau

5 mins read443 Views Comment
Vikram Singh
Assistant Manager - Content
Updated on Jul 1, 2022 06:36 IST

In this article, we will discuss data blending in tableau, steps to create, benefits and limitations and finally the difference between joins and blend in tableau.


Table of Content

In today’s world data is increasing very rapidly, and according to a report published by, the global data creation is projected to grow to more than 180 zettabytes ( 1 zettabyte = 1 billion terabytes) and these data are stored in different data sources like Oracle database, SQL server, google analytics or in different excel workbooks.

Now, the question arises of how to analyze the data that are stored in different data sources.

Tableau offers different ways to combine data in tableau:

  • Relationship
  • Join 
  • Blend

Now let’s explore, what data blending is?

Must Check: What is Tableau?

Must Check: Tableau Online Courses & Certifications

What is Data Blending?

Data Blending is one of the powerful features of tableau that combines data from different (multiple) data sources and displays the data of secondary data source and primary data source together directly in the view for easy and quick analysis.

Confused, with the definition, so let’s understand by a situation:

Let you want to open a restaurant, so before opening the restaurant you want to analyze the data of different cuisines served around the world and the number of sales of these cuisines in your city.

But when you start analyzing the data in tableau you find that cuisines data are stored in an excel workbook and the sales data is stored in SQL.

Now how you will analyze the data, here data blending comes in handy that will help you to combine your data.

Now, we will take an example to understand how to create data blending in tableau.

How to Create a Forecast in Tableau
How to Create a Forecast in Tableau
In this article, we will discuss what is forecasting, how does forecasting works in tableau, data requirement and constraints and finally how to create forecasting in tableau.
How to Create Hierarchies in Tableau
How to Create Hierarchies in Tableau
In this article, we will discuss hierarchies in tableau, how to create and remove hierarchies in tableau with examples.
How to Create Group in Tableau
How to Create Group in Tableau
In this article, we will briefly discuss about groups in tableau, how to create groups and finally what are the differences between tableau groups and tableau sets.

Steps for Blending Data

Problem Statement:  

Here we have two datasets, Sales data of H&M for the years 2018 and 2019. The only difference between both datasets is the name of one field.

In the 2018 dataset, the field containing Central, East, West, South, and North is referred to as Zone while in the 2019 dataset it is referred to as Region

Steps to Create

  • Connect H&M Sales 2018
  • Connect H&M Sales 2019 using data options from the toolbar
    • Select Data (from Toolbar) -> Select New Data Source -> Select H&M Sales 2019
  • Drag and Drop Sales and State into Column and Row shelf respectively from H&M sales 2019
    • Drag and Drop Zone into color in Marks Pane
  • Drag and drop Sales into column shelf from H&M sales 2018

  • Select Data -> Select Edit Bend Relationship
    • Blend Relationship dialog box will appear

  • It contains both Primary and Secondary Data Source
  • It also contains a list of the automatically detected relationships between the field of both the year of sales data
  • If you want to make a new relationship between the fields of both the dataset, you can choose the custom option

As the fields Zone and Region both contain the same entries, so we will create a relationship between both using custom

  • Select Custom -> Select Add
    • Add/Edit Field mapping dialog box will appear

  • Select Zone from Primary Data Source 
  • Select Region from Secondary Data Source
  • Click Ok
  • Click OK (Blend Relationship Dialog Box)

Note: This relationship is applied only to the current workbook as blend work on a sheet-by-sheet basis.

Now, we can use both datasets for our analysis.

  • In the data pane, you will find the link icon in front of the fields
    • These links indicate that you can use the data from the primary data source as a common field

From the above screenshot, we will get the total sales in the year 2018 and 2019.

The important thing is that we can visualize the data region and state-wise both in a single graph

Level of Detail(LOD) Expression in Tableau
Level of Detail(LOD) Expression in Tableau
In this article, we will discuss about the Levels of Detail (LOD) expression in tableau, types of LOD expressions and how to create LOD expression in tableau.
How to Create Calculated Field in Tableau
How to Create Calculated Field in Tableau
In this article, we will discuss how to create and use the calculation in Tableau, and we will also discuss why to use calculated fields in Tableau.
Sort Data in Tableau
Sort Data in Tableau
In this article, we will discuss about sorting and different methods how to sort data in tableau briefly with examples.
  • It behaves like a left join, which may lead to missing data from the secondary data source
    • Left Join only shows the common entries of both the dataset
  • The primary data source is indicated with a blue check while the secondary data source has an orange check mark
    • Primary and secondary data sources are determined by the order in which the fields are used.
  • It occurs on a sheet-by-sheet basis 

Benefits of Data Blending

  • It is sufficient to satisfy the need for Exploratory Visual Analytics
  • Provides an accurate aggregate of data from multiple sources
  • It is best while using the large dataset as it combines the data before and then aggregates it for the view which increases the performance
  • Data blending is useful when the field values exist at different levels of detail (have different granularity)

Limitations of Data Blending

  • If the secondary data source has LOD (have different granularity), they are taken down after data blending
  • Data from secondary data sources must be aggregated
  • Non-additive aggregates like SUM, COUNT, MEAN, and MEDIAN have data blending issues

Difference between Joins and Data Blending


  • In join, we can combine the data from the same source only
  • Join combine the data and then aggregate

Left Join

A left join returns all rows from the left table and any corresponding rows from the right table. 


  • In blend, we can combine the data from multiple sources
  • Blend aggregates the data and then combine

Note: (*) represents multiple values.


In this article, we have discussed data blending in tableau, steps to create data blending, benefits and limitations and finally the difference between joins and blend in tableau.

Hope this article will help you in your data analysis journey.

Top Trending Articles:

Introduction To Tableau | Products Of Tableau | Data Types In Tableau | Change Data Type In Tableau | File Type In Tableau | Data Aggregation | Connecting Data In Tableau | Dimension And Measure | Tableau Show Me | Joins In Tableau | Union In Tableau | Operators In Tableau | Number Functions In Tableau | String Functions In Tableau | Filter In Tableau | Context Filter In Tableau | Filters In Tableau | Types Of Charts In Tableau | Bar And Line Chart In Tableau | Pareto Chart In Tableau | Gantt Chart In Tableau | Box And Whisker Chart In Tableau | Waterfall Chart In Tableau | Donut Chart In Tableau | Funnel Chart In Tableau | Dual Axis Chart In Tableau | Sort Data In Tableau | Tableau Sets | Groups In Tableau | Tableau Hierarchy | Tableau Forecasting | Highlighting In Tableau | Word Cloud In Tableau | Cohort Analysis In Tableau

Download this article as PDF to read offline

Download as PDF
About the Author
Vikram Singh
Assistant Manager - Content

Vikram has a Postgraduate degree in Applied Mathematics, with a keen interest in Data Science and Machine Learning. He has experience of 2+ years in content creation in Mathematics, Statistics, Data Science, and Mac... Read Full Bio


We use cookies to improve your experience. By continuing to browse the site, you agree to our Privacy Policy and Cookie Policy.