PrepAway - Latest Free Exam Questions & Answers

You need to design a solution that can join a single time dimension to both fact tables

You are designing a data warehouse with two fact tables. The first table contains sales per month and the
second table contains orders per day. Referential integrity must be enforced declaratively. You need to design a
solution that can join a single time dimension to both fact tables. What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Create a time mapping table.

B.
Change the level of granularity in both fact tables to be the same.

C.
Merge the fact tables.

D.
Create a view on the sales table.

3 Comments on “You need to design a solution that can join a single time dimension to both fact tables

  1. John says:

    Time Mapping table is probably a table that contains all the months and all it’s days, you can generate such via CTE.
    However you dont even need that really, you could simply use DATEADD on both dates and reset them to the beginning of the month.




    0



    0

Leave a Reply