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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
rickylee
Helper III
Helper III

Problem with circular dependency in two tables

Hello,

I have two tables as follow:

Table: Calendar 

Column: "Date" which contains a formula "Calendar = CALENDARAUTO(3)"

Table: UK holiday

Dateis_working_day
01/04/20180
02/04/20180
03/04/20181
04/04/20181
05/04/20181
06/04/20181
07/04/20180
08/04/20180
09/04/20181


When I try to create a relationship and link by Date in both tables, I have a circular dependency problem.  Is there a way to fix that?

Thanks,
Ricky

1 ACCEPTED SOLUTION
ssugar
Resolver III
Resolver III

I've seen that circular dependency error before.  When creating the relationship, select the UK Holiday table first (top of the relationship), and select the calculated Calendar table second.

 

community-sol-264607-circular-error.pngcommunity-sol-264607-noerror.png

Here's a pbix file with your sample data and the relationship created:

https://github.com/ssugar/PowerBICommunity/raw/master/community-sol-264607.pbix

 

 

View solution in original post

3 REPLIES 3
rickylee
Helper III
Helper III

@ssugar,

 

Thanks, it seems it is actually a defect rather than a circular dependency error...

Ricky

@rickylee

 

Yup, it looks like it might be.  It seems to occur whenever I try to create a relationship with a calculated table on top.

 

Cheers,

 

Scott

ssugar
Resolver III
Resolver III

I've seen that circular dependency error before.  When creating the relationship, select the UK Holiday table first (top of the relationship), and select the calculated Calendar table second.

 

community-sol-264607-circular-error.pngcommunity-sol-264607-noerror.png

Here's a pbix file with your sample data and the relationship created:

https://github.com/ssugar/PowerBICommunity/raw/master/community-sol-264607.pbix

 

 

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.