Buffl

ITEXAMS PL-300

JB
by Johannes B.

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.

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.

Does this meet the goal?

Yes


Refactoring methodology -Here's a methodology to refactor a model from a single role-playing dimension-type table, to a design with one table per role.1. Remove any inactive relationships.2. Consider renaming the role-playing dimension-type table to better describe its role. In the example (not present here), the Airport table is related to theArrivalAirport column of the Flight table, so it's renamed as Arrival Airport.3. Create a copy of the role-playing table, providing it with a name that reflects its role. If it's an Import table, we recommend defining a calculated table. If it's aDirectQuery table, you can duplicate the Power Query query.In the example, the Departure Airport table was created by using the following calculated table definition.Departure Airport = 'Arrival Airport'Create an active relationship to relate the new table.4. Consider renaming the columns in the tables so they accurately reflect their role. In the example, all columns are prefixed with the word Departure or Arrival.These names ensure report visuals, by default, will have self-describing and non-ambiguous labels. It also improves the Q&A experience, allowing users to easily write their questions.5. Consider adding descriptions to role-playing tables. (In the Fields pane, a description appears in a tooltip when a report author hovers their cursor over the table.) This way, you can communicate any additional filter propagation details to your report authors.Reference:https://docs.microsoft.com/en-us/power-bi/guidance/relationships-active-inactive

Author

Johannes B.

Information

Last changed