0
0
Tableaubi_tool~15 mins

Joining tables in Tableau - Real Business Scenario

Choose your learning style9 modes available
Scenario Mode
👤 Your Role: You are a sales analyst at a retail company.
📋 Request: Your manager wants a report that shows total sales by product category and region. The sales data and product details are in separate tables.
📊 Data: You have two tables: Sales and Products. Sales contains OrderID, ProductID, Region, and SalesAmount. Products contains ProductID and Category.
🎯 Deliverable: Create a joined data source in Tableau combining Sales and Products tables, then build a report showing total sales by Category and Region.
Progress0 / 4 steps
Sample Data
Sales Table
OrderIDProductIDRegionSalesAmount
1001200North150
1002201South200
1003202East120
1004200West180
1005203North220

Products Table
ProductIDCategory
200Electronics
201Furniture
202Office Supplies
203Electronics
1
Step 1: Connect to the Sales and Products tables in Tableau.
In Tableau, add both Sales and Products tables to the data source.
Expected Result
Both tables appear in the data source pane.
2
Step 2: Create a join between Sales and Products tables on ProductID.
Drag Products table next to Sales table and join on Sales.ProductID = Products.ProductID using an inner join.
Expected Result
Tables are joined, combining sales data with product categories.
3
Step 3: Build a worksheet showing total sales by Category and Region.
Rows: Category, Columns: Region, Values: SUM(SalesAmount).
Expected Result
A table showing total sales amounts grouped by product category and region.
4
Step 4: Format the report for clarity.
Add clear headers, sort categories alphabetically, and format sales amounts as currency.
Expected Result
Report is easy to read with clear labels and formatted numbers.
Final Result
-------------------------------------------------
| Category       | North | South | East | West |
-------------------------------------------------
| Electronics    | 370   |       |      | 180  |
| Furniture      |       | 200   |      |      |
| Office Supplies|       |       | 120  |      |
-------------------------------------------------
Electronics category has the highest total sales, especially in the North region.
Furniture sales are only in the South region.
Office Supplies sales appear only in the East region.
Bonus Challenge

Create a dashboard that includes this sales by category and region report along with a filter to select specific regions.

Show Hint
Use Tableau's dashboard feature and add a region filter to allow interactive selection.