March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I've struggled to create a single master calendar (Canonical) for the following simplified data model:
When I try to establish the relationships between the master calendar date (MC_Date) and the creation dates (CreateDttm), I get circular dependency warnings. Please help me create a master calendar for the proposed data model.
Using a master calendar (Canonical) allows me to have different metrics in a single chart using the same time scale. It also filters the creation dates of all the tables with a single slicer.
The date of the master calendar would be related to the creation dates of each table.
Unifying the different snowflaked tables into one would further complicate the model (this is a simplified version of it) and significantly increase the refresh time.
Regards
Solved! Go to Solution.
Hi! Here is a link to the SQLBI date ref table that I love to use. It can be used for a traditional calendar, fiscal, or fiscal weekly. This article describes the table: Reference Date Table in DAX and Power BI - SQLBI
This link is where you can download the pbix that has the DAX: DAX Date Template - SQLBI
In your model, which table is the fact? It looks like it is Product and the other two are snowflaked dimensions. Your date dimension table should have a relationship to your fact and if you have multiple facts they should not be joined to each other. They would be useable in one viz together by any shared dimensions they have and use of the dimension tables. Understand star schema and the importance for Power BI - Power BI | Microsoft Learn
Proud to be a Super User! | |
Hi! Here is a link to the SQLBI date ref table that I love to use. It can be used for a traditional calendar, fiscal, or fiscal weekly. This article describes the table: Reference Date Table in DAX and Power BI - SQLBI
This link is where you can download the pbix that has the DAX: DAX Date Template - SQLBI
In your model, which table is the fact? It looks like it is Product and the other two are snowflaked dimensions. Your date dimension table should have a relationship to your fact and if you have multiple facts they should not be joined to each other. They would be useable in one viz together by any shared dimensions they have and use of the dimension tables. Understand star schema and the importance for Power BI - Power BI | Microsoft Learn
Proud to be a Super User! | |
Hi @audreygerred !
Thank you for your quick answer!
Indeed, there are 3 snowflaked tables (In reality there are two more tables, but, for simplicity I have only put 3), where the relationships are the following:
Customer ---------------------> Branch ----------------------------> Project
CustomerID --------> CustomerID | BranchID ---------------------> BranchID
My intention is to be able to create a slicer that allows me to filter the creation dates of each table or draw in the same chart the evolution using the same date on the time axis.
Regards
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |