Hint: Inner Join keeps only matching keys with all columns [OK]
Common Mistakes:
Thinking Inner Join stacks rows
Expecting unmatched rows included
Confusing columns included in result
4. You tried to Union two tables but got an error. What is the most likely cause?
medium
A. You forgot to select a join type.
B. The tables have different column names or data types.
C. You used a calculated field instead of a table.
D. You dragged tables instead of using the Union option.
Solution
Step 1: Identify Union requirements
Union requires tables to have matching column names and compatible data types to stack rows.
Step 2: Understand error cause
If columns differ in name or type, Tableau cannot stack rows, causing an error.
Final Answer:
The tables have different column names or data types. -> Option B
Quick Check:
Union error = mismatched columns/types [OK]
Hint: Union needs matching columns and types [OK]
Common Mistakes:
Confusing Union errors with Join errors
Not checking column names and types
Trying to drag tables instead of using Union
5. You have monthly sales data split into two tables: Sales_Jan and Sales_Feb with identical columns. You also have a Customers table with customer details. How do you create a combined dataset showing all sales with customer info?
hard
A. Union Sales_Jan and Sales_Feb, then Join the result with Customers on CustomerID.
B. Join Sales_Jan with Customers, then Union with Sales_Feb.
C. Union Customers with Sales_Jan and Sales_Feb directly.
D. Join Sales_Jan and Sales_Feb on CustomerID, then Union with Customers.
Solution
Step 1: Combine monthly sales data vertically
Since Sales_Jan and Sales_Feb have identical columns, use Union to stack their rows into one sales table.
Step 2: Enrich sales data with customer info
Join the combined sales table with Customers on CustomerID to add customer details horizontally.
Final Answer:
Union Sales_Jan and Sales_Feb, then Join the result with Customers on CustomerID. -> Option A
Quick Check:
Union sales first, then Join customers [OK]
Hint: Union similar tables first, then Join related tables [OK]
Common Mistakes:
Joining before unioning sales tables
Trying to union unrelated tables
Joining sales tables instead of unioning
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.