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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply

Circular dependency

i have 2 tables, customers and salesteam. in the customers table, i have a column sales team that was added with a lookup() dax function that gets the Salesteam[salesteam.name] by doing a lookup on the salesteam[salespersoncode] that matches the customers[salespersoncode]. i dont know why it was done like that,  but there was a dependency error in the relationship when we tried to remove that salesteam column and just do a relationship between both tables on salespersoncode.


i want to make a relation between both tables, because my row level security that is filtering on the salesteam wont work where the salesteam filter is taken from the customers table. when i tried to make a relationship for both tables on [salesteam], i got an error :
circular dependancy was detected : customers[salesteam].

any suggestions to fix the issue?

1 ACCEPTED SOLUTION
vojtechsima
Super User
Super User

Hello, @Hussein_charif ,

I would try removing all calculated columns in both tables and redo them in Power Query.

Then I would try again.
My theory is that a couple of columns need both tables alive and functioning. Which would not be case with remove lookup.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

View solution in original post

4 REPLIES 4
vojtechsima
Super User
Super User

Hello, @Hussein_charif ,

I would try removing all calculated columns in both tables and redo them in Power Query.

Then I would try again.
My theory is that a couple of columns need both tables alive and functioning. Which would not be case with remove lookup.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

i re-did the column in power query by a merge, and it worked, thank you!

@Hussein_charif  amazing, happy to help.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

okay, i'll try that and get back to you. thank you!

Helpful resources

Announcements
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.