ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 350 - PL-300 discussion

Report
Export

You have a Power BI data model 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 three dates at the same time.

Solution: From the Data pane, you rename the date table as Due Date. You use a DAX expression to create Order Date and Deliver Date as calculated tables. You create active relationships between the sales table and each date table.

Does this meet the goal?

A.

Yes

Answers
A.

Yes

B.

No

Answers
B.

No

Suggested answer: B

Explanation:

Renaming the date table and creating calculated tables for 'Order Date' and 'Delivery Date' with DAX expressions would not fully meet the goal. Power BI only allows one active relationship between two tables at a time. Therefore, you cannot have active relationships between the sales table and all three date tables simultaneously.

Instead, you would typically create one active relationship (e.g., with 'Order Date') and use DAX functions like USERELATIONSHIP to switch between different relationships when needed for analysis. Alternatively, you could use a single date table and create multiple relationships, using inactive relationships and the USERELATIONSHIP function to activate them in specific measures.

asked 05/10/2024
Igor An
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first