0
0
Tableaubi_tool~8 mins

Blending data sources in Tableau - Dashboard Guide

Choose your learning style9 modes available
Dashboard Mode - Blending data sources
Business Question

How can we combine sales data from two different sources to see total sales by product category and region?

Sample Data

Data Source 1: Sales 2023

Order IDProduct CategoryRegionSales Amount
1001FurnitureEast250
1002TechnologyWest400
1003Office SuppliesEast150
1004FurnitureWest300
1005TechnologyEast500

Data Source 2: Sales 2024

Order IDProduct CategoryRegionSales Amount
2001FurnitureEast350
2002TechnologyWest450
2003Office SuppliesEast200
2004FurnitureWest400
2005TechnologyEast550
Dashboard Components
  • KPI Card: Total Sales
    Formula: SUM([Sales Amount]) from both data sources blended on Product Category and Region.
    Result: 3650 (sum of all sales amounts from both sources)
  • Bar Chart: Sales by Product Category
    Formula: SUM([Sales Amount]) grouped by [Product Category] from blended data.
    Result:
    Furniture: 1300
    Technology: 1900
    Office Supplies: 350
  • Map Chart: Sales by Region
    Formula: SUM([Sales Amount]) grouped by [Region] from blended data.
    Result:
    East: 2000
    West: 1650
  • Table: Detailed Sales
    Shows Order ID, Product Category, Region, Sales Amount from both sources combined.
Dashboard Layout
+----------------------+-----------------------+
|      KPI Card        |   Bar Chart            |
|  Total Sales: 3650   |  Sales by Product Cat  |
|                      |  Furniture, Tech, etc. |
+----------------------+-----------------------+
|                      Map Chart: Sales by Region |
|                      East, West                 |
+--------------------------------+----------------+
|       Table: Detailed Sales (Order ID, Product, Region, Sales)       |
+---------------------------------------------------------------------+
  
Interactivity

Filters for Product Category and Region apply to all components. Selecting a category or region updates the KPI card, bar chart, map, and table to show only matching blended data.

Self Check

If you add a filter for Region = East, which components update and what changes?

  • All components update to show only East region data.
  • KPI Card shows total sales for East: 250 + 150 + 500 + 350 + 200 + 550 = 2000.
  • Bar Chart shows sales by product category only for East.
  • Map Chart highlights East region sales only.
  • Table shows only orders from East region.
Key Result
A dashboard blending two sales data sources to show total and detailed sales by product category and region with interactive filters.