Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
emillanc
Advocate IV
Advocate IV

Problems creating a Master Calendar for Multiple Snowflaked Tables (Avoid Circular Dependency)

 I've struggled to create a single master calendar (Canonical) for the following simplified data model:

 

emillanc_1-1729251218126.png

 

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

1 ACCEPTED SOLUTION
audreygerred
Super User
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





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
audreygerred
Super User
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





Did I answer your question? Mark my post as a solution!

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors