A company has a Power BI dataset that contains a date table with columns: Date, Year, Month, Quarter, Day. The data model also includes a sales fact table with a SalesDate column. To enable time intelligence functions like TOTALYTD, what is the minimum requirement for the relationship between these tables?
Trap 1: Create a calculated column in the sales table to extract the date…
A calculated column is unnecessary if the relationship is already established.
Trap 2: Create a many-to-many relationship between the date table and the…
Time intelligence functions require a one-to-many relationship.
Trap 3: Create a one-to-many relationship from the sales table to the date…
Bidirectional filtering is not required.
- A
Create a calculated column in the sales table to extract the date part and relate it to the date table.
Why wrong: A calculated column is unnecessary if the relationship is already established.
- B
Create a one-to-many relationship from the date table to the sales table and mark the date table as a date table.
This is the standard requirement for time intelligence.
- C
Create a many-to-many relationship between the date table and the sales table.
Why wrong: Time intelligence functions require a one-to-many relationship.
- D
Create a one-to-many relationship from the sales table to the date table with bidirectional cross-filtering.
Why wrong: Bidirectional filtering is not required.