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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Circular Dependency

How does one go about troubleshooting where/why a circular dependency is happening and how to fix it? I get an error message that lists the columns involved which is nice but it doesn't help me in understanding how/why these two columns are bumping heads:

1.PNG

1.PNG

 

Neither one of these formulas reference nor depend on each other for any calculating so I don't know what the issue is...

1 ACCEPTED SOLUTION
Phil_Seamark
Microsoft Employee
Microsoft Employee

Hi @Anonymous

 

For a start, I would change to use the SWITCH function over your use of nested IF statements.  This will make it easier - and I recommend formatting your calculation.  

 

Once you have this, you can comment sections of the function to help isolate and quickly identify which part is causing the issue.

 

 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

2 REPLIES 2
Phil_Seamark
Microsoft Employee
Microsoft Employee

Hi @Anonymous

 

For a start, I would change to use the SWITCH function over your use of nested IF statements.  This will make it easier - and I recommend formatting your calculation.  

 

Once you have this, you can comment sections of the function to help isolate and quickly identify which part is causing the issue.

 

 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Anonymous
Not applicable

@Phil_Seamark thank you! I'm not sure how it's working under the hood but changing my NPS Bonus from a nested if to a switch made the circular dependency disappear.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.