Question 1
IntermediateConnect to and Transform Data · Use multiple data sources (establish relationships, create joins, union tables)
A data analyst is designing a data model in Tableau Desktop using two tables: 'Orders' and 'Returns'. The goal is to analyze all orders, regardless of whether they were returned or not, while also identifying which orders have associated return records. Performance is a priority, and the analyst wants to ensure that queries are optimized by culling unnecessary joins when the 'Returns' data is not specifically requested in the visualization.
Which modeling approach should the analyst use?
Answer and explanation
Correct answer: A
Relationships (the logical layer) are flexible and optimize performance by generating queries only for the tables relevant to the specific analysis. This 'join culling' behavior ensures that if a visualization only uses fields from 'Orders', the 'Returns' table is not queried. A physical Left Join would fix the join type upfront and might query both tables unnecessarily.
