PL-300 · Question #400
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might…
The correct answer is A. Yes. Duplicating a date table and renaming each copy to match a specific foreign key (role-playing dimension) allows for analysis over time based on all date foreign keys in Power BI.
Question
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have a Power BI report that imports a date table and a sales table from an Azure SQL database data source. The sales table has the following date foreign keys:
- Due Date
- Order Date
- Delivery Date
You need to support the analysis of sales over time based on all the date foreign keys. Solution: From the Fields pane, you rename the date table as Due Date. You use a DAX expression to create Order Date and Delivery Date as calculated tables. You create active relationships between the sales table and each date table. Does this meet the goal?
Options
- AYes
- BNo
How the community answered
(29 responses)- A76% (22)
- B24% (7)
Why each option
Duplicating a date table and renaming each copy to match a specific foreign key (role-playing dimension) allows for analysis over time based on all date foreign keys in Power BI.
Renaming a duplicated date table in the Fields pane to correspond to a specific role (e.g., 'Due Date' or 'Order Date') allows for the creation of multiple active relationships in the model. This pattern, known as a role-playing dimension, enables direct slicing and dicing of sales data by each distinct date type without needing complex DAX expressions.
Concept tested: Role-playing dimensions in Power BI
Source: https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-relationships-understand#role-playing-dimensions
Community Discussion
No community discussion yet for this question.