Analyzing and Visualizing Data with Microsoft Power BI — Question 74

You plan to join a fact table named ActivityLog to a Date dimension named ActivityDate. The date value in ActivityLog is a datetime column named ActivityStart.
The date value in ActivityDate is a number column named DateID. DateID is in the YYYYMMDD format.
What should you do in the model before you create the relationship?

Answer options

Correct answer: D

Explanation

Creating a calculated column in ActivityLog that uses the FORMAT DAX function is necessary to convert the datetime format of ActivityStart to match the YYYYMMDD format of DateID. The other options do not effectively resolve the datatype mismatch, as changing the type of ActivityStart or DateID would not align them correctly for the relationship.