Bird
Raised Fist0
Tableaubi_tool~10 mins

Multiple data sources in Tableau - Cell-by-Cell Formula Trace

Choose your learning style10 modes available
Sample Data

Two data sources: Sales data with ProductID and SalesAmount, and Product data with ProductID and ProductName.

CellValue
A1ProductID
B1SalesAmount
A2101
B2200
A3102
B3150
D1ProductID
E1ProductName
D2101
E2Chair
D3102
E3Table
Formula Trace
SUM([SalesAmount]) for products where [ProductName] = 'Chair'
Step 1: Join Sales data and Product data on ProductID
Step 2: Filter rows where ProductName = 'Chair'
Step 3: Sum SalesAmount for filtered rows
Cell Reference Map
  A       B       D       E  
1 ProductID SalesAmount  ProductID ProductName
2 101       200    101       Chair
3 102       150    102       Table

Arrows: Sales.ProductID -> Product.ProductID for join
The formula uses ProductID from both Sales and Product data to join and filter by ProductName.
Result
  F       
1 TotalSales
2 200     
The final result shows total sales amount for the product named Chair, which is 200.
Sheet Trace Quiz - 3 Questions
Test your understanding
What is the purpose of joining the two data sources on ProductID?
ATo combine sales amounts with product names
BTo filter sales by date
CTo calculate average sales
DTo remove duplicate sales records
Key Result
Join data sources on common key, filter by condition, then aggregate measure

Practice

(1/5)
1. What is the main purpose of using multiple data sources in Tableau?
easy
A. To create multiple dashboards separately
B. To combine data from different places into one view
C. To increase the size of a single data file
D. To export data to Excel automatically

Solution

  1. Step 1: Understand the concept of multiple data sources

    Multiple data sources allow Tableau to bring together data from different origins.
  2. Step 2: Identify the main benefit

    This lets users analyze combined data in one view without merging files physically.
  3. Final Answer:

    To combine data from different places into one view -> Option B
  4. Quick Check:

    Multiple data sources = Combine data [OK]
Hint: Multiple data sources combine data from different places [OK]
Common Mistakes:
  • Thinking it only creates separate dashboards
  • Believing it increases file size
  • Confusing it with exporting data
2. Which of the following is the correct way to create a relationship between two data sources in Tableau?
easy
A. Drag a field from one source to a matching field in the other source
B. Use the Data menu to export both sources to CSV
C. Manually merge the data files outside Tableau
D. Create a calculated field with SUM() in both sources

Solution

  1. Step 1: Identify how Tableau links data sources

    Tableau uses relationships by matching fields between sources to combine data logically.
  2. Step 2: Recognize the correct method

    Dragging a field from one source to a matching field in another creates this relationship inside Tableau.
  3. Final Answer:

    Drag a field from one source to a matching field in the other source -> Option A
  4. Quick Check:

    Relationship creation = Drag matching fields [OK]
Hint: Drag matching fields to create relationships [OK]
Common Mistakes:
  • Trying to export data to CSV for relationships
  • Merging files outside Tableau instead of inside
  • Using calculated fields incorrectly for relationships
3. Given two data sources: Sales and Targets, blended on 'Region', what will happen if a region exists in Sales but not in Targets when blending?
medium
A. The region will be excluded from the view entirely
B. Tableau will throw an error and stop loading data
C. Sales data for that region will show, but Target values will be null
D. Target values will be duplicated for that region

Solution

  1. Step 1: Understand blending behavior with unmatched keys

    When blending, if a key exists in the primary source but not in the secondary, Tableau shows primary data but leaves secondary fields blank.
  2. Step 2: Apply this to the region example

    Sales data for the unmatched region appears, but Targets show null because no matching region exists there.
  3. Final Answer:

    Sales data for that region will show, but Target values will be null -> Option C
  4. Quick Check:

    Blending unmatched keys = Primary shows, secondary null [OK]
Hint: Unmatched blend keys show primary data, secondary null [OK]
Common Mistakes:
  • Assuming unmatched regions are excluded
  • Expecting errors on unmatched keys
  • Thinking secondary data duplicates
4. You created a blend between two data sources but notice the data is not matching correctly. What is the most likely cause?
medium
A. You used a calculated field instead of a dimension
B. You forgot to refresh the data extract
C. The dashboard has too many sheets
D. The linking fields have different data types or mismatched values

Solution

  1. Step 1: Identify common blending issues

    Blending depends on matching fields; if data types or values differ, matches fail.
  2. Step 2: Recognize the cause of mismatched data

    Different data types (e.g., string vs number) or inconsistent values prevent correct blending.
  3. Final Answer:

    The linking fields have different data types or mismatched values -> Option D
  4. Quick Check:

    Blending mismatch = Data type/value mismatch [OK]
Hint: Check data types and values of linking fields first [OK]
Common Mistakes:
  • Blaming dashboard complexity
  • Ignoring data refresh needs
  • Confusing calculated fields with linking fields
5. You want to analyze sales data from two different databases: one with daily sales and another with monthly targets. How should you combine these in Tableau to compare performance effectively?
hard
A. Use relationships to link the data sources on the month field and blend the data
B. Join the two databases on the day field using an inner join
C. Export both datasets to Excel and merge manually before importing
D. Create separate dashboards for daily sales and monthly targets without linking

Solution

  1. Step 1: Identify the best way to combine different granularity data

    Daily sales and monthly targets have different time levels, so joining on day would exclude unmatched data.
  2. Step 2: Use relationships and blending on month field

    Linking on month lets Tableau combine data logically without losing unmatched days, enabling effective comparison.
  3. Final Answer:

    Use relationships to link the data sources on the month field and blend the data -> Option A
  4. Quick Check:

    Different granularity = Use relationships and blend [OK]
Hint: Link on common granularity (month) and blend data [OK]
Common Mistakes:
  • Joining on day excludes unmatched data
  • Merging outside Tableau wastes time
  • Keeping dashboards separate loses combined insight
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard