0
0
Tableaubi_tool~20 mins

Data relationships model in Tableau - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Data Relationships Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Tableau Data Relationships

In Tableau, what is the main advantage of using a data relationship model over a traditional join?

AIt permanently merges all tables into one large table before analysis, reducing query time.
BIt disables filtering between tables to avoid data duplication.
CIt allows Tableau to maintain the original tables separately and combine data only when needed, improving performance and flexibility.
DIt requires all tables to have the same number of rows to work correctly.
Attempts:
2 left
💡 Hint

Think about how Tableau handles data at query time versus data preparation time.

dax_lod_result
intermediate
2:00remaining
Result of a Relationship Filter in Tableau

Given two tables: Orders and Customers related by CustomerID, if you filter Customers to only those in 'USA', what happens to the Orders table in a relationship model?

AOnly Orders with CustomerID in USA are included in the view.
BAll Orders are shown regardless of Customer location.
COrders table is filtered first, then Customers are filtered.
DThe filter causes an error because relationships do not support filtering.
Attempts:
2 left
💡 Hint

Consider how filters propagate through relationships in Tableau.

data_modeling
advanced
3:00remaining
Modeling Many-to-Many Relationships

You have three tables: Students, Courses, and Enrollments. Students and Courses have a many-to-many relationship through Enrollments. How should you model this in Tableau using relationships?

ACreate a relationship only between Students and Courses, ignoring Enrollments.
BJoin Students and Courses directly on StudentID and CourseID.
CMerge all three tables into one flat table before importing to Tableau.
DCreate relationships from Students to Enrollments and from Courses to Enrollments, keeping all tables separate.
Attempts:
2 left
💡 Hint

Think about how to represent many-to-many relationships without losing detail.

🔧 Formula Fix
advanced
3:00remaining
Troubleshooting Incorrect Aggregation in Relationships

You created relationships between Sales and Products tables. When you add Product Category and sum of Sales Amount to a view, the totals are incorrect and inflated. What is the most likely cause?

AThe Products table has missing Product Category values causing nulls.
BThe relationship is many-to-many and Tableau is duplicating sales when aggregating by category.
CThe Sales Amount field is not numeric, causing aggregation errors.
DThe relationship is inactive and needs to be activated manually.
Attempts:
2 left
💡 Hint

Consider how many-to-many relationships affect aggregation.

🎯 Scenario
expert
4:00remaining
Designing a Flexible Sales Dashboard with Relationships

You need to build a sales dashboard that shows sales by region, product, and time. The data source has separate tables for Sales, Regions, Products, and Dates. You want to allow users to filter by any dimension without duplicating data or creating complex joins. What is the best approach using Tableau's data relationships?

ACreate relationships from Sales to Regions, Products, and Dates tables, keeping them separate and letting Tableau combine data dynamically.
BJoin all tables into one large table before importing to Tableau to simplify filtering.
CUse data blending instead of relationships to connect the tables.
DCreate calculated fields in Sales to replicate Regions and Products data for filtering.
Attempts:
2 left
💡 Hint

Think about how Tableau relationships optimize performance and flexibility.