Jump into concepts and practice - no test required
or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Recall & Review
beginner
What is a cross-database join in Tableau?
A cross-database join in Tableau is when you combine data from two or more different databases or data sources into a single view by joining tables across those sources.
Click to reveal answer
beginner
True or False: Cross-database joins require the data sources to be of the same type (e.g., both SQL Server).
False. Cross-database joins can combine tables from different types of databases, like SQL Server and Excel.
Click to reveal answer
intermediate
What is a key difference between cross-database joins and data blending in Tableau?
Cross-database joins combine data at the row level before aggregation, while data blending combines aggregated data after separate queries.
Click to reveal answer
intermediate
Name one limitation of cross-database joins in Tableau.
One limitation is that performance can be slower because Tableau has to query multiple databases and join data on the fly.
Click to reveal answer
beginner
How do you create a cross-database join in Tableau?
You connect to multiple data sources, drag tables from different sources into the join area, and define join keys just like a normal join.
Click to reveal answer
What does a cross-database join allow you to do in Tableau?
AJoin tables from different databases into one view
BOnly join tables from the same database
CCreate charts without any data source
DExport data to Excel automatically
✗ Incorrect
Cross-database joins let you join tables from different databases or data sources into a single view.
Which of these is a key difference between cross-database joins and data blending?
ACross-database joins only work with Excel files
BBlending is faster than cross-database joins
CCross-database joins combine data before aggregation; blending combines after
DData blending requires no join keys
✗ Incorrect
Cross-database joins combine data at the row level before aggregation, while blending combines aggregated data.
Which is NOT a limitation of cross-database joins?
ASlower performance due to multiple data sources
BCannot join tables from different databases
CComplexity in managing join keys
DPotential data refresh delays
✗ Incorrect
Cross-database joins specifically allow joining tables from different databases, so A is not a limitation.
To create a cross-database join, you must:
AConnect to multiple data sources and drag tables into the join area
BOnly use one data source
CWrite SQL code manually
DExport data to CSV first
✗ Incorrect
You create cross-database joins by connecting to multiple sources and dragging tables into the join area.
Cross-database joins in Tableau can combine data from:
AOnly one database at a time
BOnly cloud databases
COnly local files
DDifferent types of databases like SQL Server and Excel
✗ Incorrect
Cross-database joins can combine data from different types of databases and file sources.
Explain what a cross-database join is and how it differs from data blending in Tableau.
Think about when the data is joined and how that affects your analysis.
You got /4 concepts.
Describe the steps to create a cross-database join in Tableau and mention one limitation you might face.
Focus on the practical steps and a common challenge.
You got /4 concepts.
Practice
(1/5)
1. What is the main purpose of a cross-database join in Tableau?
easy
A. To export data to an external file
B. To create a copy of data within the same database
C. To combine tables from different data sources into one view
D. To filter data based on user input
Solution
Step 1: Understand cross-database join concept
A cross-database join allows combining tables from different data sources in Tableau without moving data.
Step 2: Identify the main purpose
The main goal is to create a richer view by joining data from multiple sources.
Final Answer:
To combine tables from different data sources into one view -> Option C
Quick Check:
Cross-database join = combine tables from different sources [OK]
Hint: Cross-database joins combine data from different sources [OK]
Common Mistakes:
Thinking it copies data instead of joining
Confusing with data filtering
Assuming it exports data
2. Which of the following is the correct way to create a cross-database join in Tableau?
easy
A. Drag a table from one data source onto a table from another data source in the Data pane
B. Use the Data Extract option to combine tables
C. Create a calculated field to merge data sources
D. Export both tables and merge in Excel
Solution
Step 1: Recall Tableau's method for cross-database joins
In Tableau, you drag a table from one data source onto another in the Data pane to create a cross-database join.
Step 2: Eliminate incorrect options
Options A, B, and D describe other unrelated methods not used for cross-database joins in Tableau.
Final Answer:
Drag a table from one data source onto a table from another data source in the Data pane -> Option A
Quick Check:
Drag tables between sources = cross-database join [OK]
Hint: Drag tables between sources to join cross-database [OK]
Common Mistakes:
Using data extracts instead of joins
Trying to merge with calculated fields
Exporting data outside Tableau
3. Given two tables from different databases joined on CustomerID, what happens if some CustomerID values exist only in one table?
medium
A. Those rows will be excluded from the join result
B. Those rows will appear with NULLs for missing columns
C. Tableau will throw an error and stop the join
D. Those rows will be duplicated in the result
Solution
Step 1: Understand join behavior with unmatched keys
When joining tables, rows with keys only in one table appear with NULLs for columns from the other table if using a left or full outer join.
Step 2: Apply to cross-database join context
In Tableau cross-database joins, unmatched keys show rows with NULLs, not excluded or duplicated.
Final Answer:
Those rows will appear with NULLs for missing columns -> Option B
Quick Check:
Unmatched keys = rows with NULLs [OK]
Hint: Unmatched keys show NULLs, not errors or duplicates [OK]
Common Mistakes:
Assuming unmatched rows are excluded
Expecting errors on unmatched keys
Thinking unmatched rows duplicate
4. You created a cross-database join but Tableau shows incorrect results. Which of these is the most likely cause?
medium
A. You joined tables from the same database
B. You forgot to refresh the data extract
C. You used a calculated field instead of a join
D. Join keys have mismatched data types between sources
Solution
Step 1: Identify common issues in cross-database joins
Mismatched data types in join keys cause incorrect or missing matches in joins.
Step 2: Evaluate other options
Refreshing extracts or using calculated fields are unrelated to join key mismatches; joining same database tables is valid but not an error cause here.
Final Answer:
Join keys have mismatched data types between sources -> Option D
Quick Check:
Data type mismatch = wrong join results [OK]
Hint: Check join key data types match across sources [OK]
Common Mistakes:
Ignoring data type differences
Assuming refresh fixes join logic
Confusing calculated fields with joins
5. You want to join a large SQL Server sales table with a small Excel customer list using a cross-database join. What is the best practice to optimize performance?
hard
A. Create extracts for both sources before joining
B. Use a left join with the Excel table on the left side
C. Import the Excel data into SQL Server and join there
D. Join directly without extracts to get live data
Solution
Step 1: Understand performance impact of cross-database joins
Joining large and small tables across sources can slow performance; extracts improve speed by caching data.
Step 2: Evaluate options for optimization
Creating extracts for both sources reduces query time and improves join speed compared to live joins.
Final Answer:
Create extracts for both sources before joining -> Option A
Quick Check:
Extracts speed up cross-database joins [OK]
Hint: Use extracts to speed up cross-database joins [OK]