PL-300 · Question #107
You have sales data in a star schema that contains four tables named Sales, Customer, Date, and Product. The Sales table contains purchase and ship dates. Most often, you will use the purchase date…
The correct answer is D. Create an active relationship between Sales and Date for the purchase date and an inactive. Only one relationship can be active. Note: If you query two or more tables at the same time, when the data is loaded, Power BI Desktop attempts to find and create relationships for you. The relationship options Cardinality, Cross filter direction, and Make this relationship…
Question
You have sales data in a star schema that contains four tables named Sales, Customer, Date, and Product. The Sales table contains purchase and ship dates. Most often, you will use the purchase date to analyze the data, but you will analyze the data by both dates independently and together. You need to design an imported dataset to support the analysis. The solution must minimize the model size and the number of queries against the data source. Which data modeling design should you use?
Options
- AUse the Auto Date/Time functionality in Microsoft Power BI and do NOT import the Date table.
- BDuplicate the Date query in Power Query and use active relationships between both Date tables.
- COn the Date table, use a reference query in Power Query and create active relationships between
- DCreate an active relationship between Sales and Date for the purchase date and an inactive
How the community answered
(47 responses)- A2% (1)
- B6% (3)
- C11% (5)
- D81% (38)
Explanation
Only one relationship can be active. Note: If you query two or more tables at the same time, when the data is loaded, Power BI Desktop attempts to find and create relationships for you. The relationship options Cardinality, Cross filter direction, and Make this relationship active are automatically set. https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-create-and-manage-
Topics
Community Discussion
No community discussion yet for this question.