Showing results for 
Search instead for 
Did you mean: 
nanci Regular Visitor
Regular Visitor

Circular dependency and Relationship

I have 2 tables: Master and Logs.

I'm making a report with a matrix where I use data from both tables so I need to have a relationship between them.

I have a long string that I'm using as unique IDs to join both tables, but when I try to set the relationship, I receive the error "A circular dependency was detected". Now, I understand this error is because to get the ID in Logs, I make a LOOKUPVALUE search in Master.

I really need to make a search in Master in order to define the ID for Logs, is the only way I can get the correct ID.


Let me know what other information you need.


Re: Circular dependency and Relationship

@nanci how you are getting the id in log table? Not sure why you can set relationship based on the common field between these tables.

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

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

nanci Regular Visitor
Regular Visitor

Re: Circular dependency and Relationship

Thanks for your reply, @parry2k 


I have this formula:

ID = IF(ISBLANK(LOOKUPVALUE('Master'[ID],'Master'[ID],Logs[IDcomplete])),IF(ISBLANK(LOOKUPVALUE('Master'[ID],'Master'[ID], Logs[IDOnlyProject])),"NOT FOUND IN MASTER",Logs[IDOnlyProject]),Logs[IDcomplete])
So basically in Logs I have 2 IDs, and for deciding which one to use I make a search in Master.
Community Support Team
Community Support Team

Re: Circular dependency and Relationship

Hi @nanci ,

Here is a good refresher on circular dependencies:

If you still need help, please share a dummy pbix file which can reproduce the scenario, so that we can help further investigate on it? You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.

Best  Regards,



Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)
Users online (1,567)