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

Be 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

Reply
powerbiexpert22
Post Prodigy
Post Prodigy

circular relationship

how do we resolve circular relationship in data model?

1 ACCEPTED SOLUTION

Hello @powerbiexpert22@MattAllington provided the greatest guardrail when working as a modeler.  @PijushRoy continued the advice on your self learning journey asked, and I will share the folowing, and refer you to a Community Forum Post from 2020 in which  @d_gosbell a fantastic and  long time resource of the same vintage as @MattAllington and others who worked through a teaching example:  Solved: Circular relationship - Microsoft Fabric Community

 

Nikola llic from his personal blog post, summed it up like this:

 

 

Circular dependency is one of the most annoying things in Power BI data modeling process! Whenever you create two objects that are dependent on each other, you risk running into this issue. Sometimes, determining what is the root cause may be a straightforward task, but in certain scenarios, it is necessary to understand nuances of the DAX way of doing things.

<https://data-mozart.com/in-the-power-bi-whirlpool-understanding-circular-dependencies/>

 

 

Avoid Circular Relationships. They_are_annoying. The simplest solution is to prevent circular relationships from occurring in the first place. Design your data model carefully to avoid creating loops where tables reference each other directly or indirectly.  Thoughtful design and understanding your data relationships are key to resolving circular dependencies.

View solution in original post

6 REPLIES 6
PijushRoy
Super User
Super User

Hi @powerbiexpert22 

please share details about data model and images of the error




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





it is genreral ask on how to approach the problem

Hi @powerbiexpert22 
The three articles/videos below might help you understand and solve the circular dependency
https://www.sqlbi.com/articles/avoiding-circular-dependency-errors-in-dax/

https://www.youtube.com/watch?v=OFwspc_C5Xg

https://www.youtube.com/watch?v=GjYZPck6IkI


Let me know if that works for you


If your requirement is solved, please make THIS ANSWER a SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.

Thanks
Pijush
Linkedin




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Hi @PijushRoy 

 

I am referring to circular relationship in model , not in DAX

Hello @powerbiexpert22@MattAllington provided the greatest guardrail when working as a modeler.  @PijushRoy continued the advice on your self learning journey asked, and I will share the folowing, and refer you to a Community Forum Post from 2020 in which  @d_gosbell a fantastic and  long time resource of the same vintage as @MattAllington and others who worked through a teaching example:  Solved: Circular relationship - Microsoft Fabric Community

 

Nikola llic from his personal blog post, summed it up like this:

 

 

Circular dependency is one of the most annoying things in Power BI data modeling process! Whenever you create two objects that are dependent on each other, you risk running into this issue. Sometimes, determining what is the root cause may be a straightforward task, but in certain scenarios, it is necessary to understand nuances of the DAX way of doing things.

<https://data-mozart.com/in-the-power-bi-whirlpool-understanding-circular-dependencies/>

 

 

Avoid Circular Relationships. They_are_annoying. The simplest solution is to prevent circular relationships from occurring in the first place. Design your data model carefully to avoid creating loops where tables reference each other directly or indirectly.  Thoughtful design and understanding your data relationships are key to resolving circular dependencies.

MattAllington
Community Champion
Community Champion

How do you think someone can help you with the information you have provided?  The simple answer is, don't create circular relationships. 🤷‍♂️



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.