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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
mv124
New Member

Circular Dependency error on a calculated field using divide function

I'm trying to create a new column with a divide function.  Below are the inputs to this calculated field.

Input 1 = Existing field is a whole number from an Excel file.

Input 2 = Whole number that came from a lookup value in another Power BI table

 

New column = Input 1 / Input 2  OR using DIVIDE (Input 1, Input 2).  Both of these are returning to me a circular dependency error.

 

If I try adding a new measure, I get the same error.

Here's the error that I get: A circular dependency was detected: Campaigns[Target Audience], Campaigns[ConRate], Campaigns[Target Audience].

 

 

4 REPLIES 4

What about doing a merge in the query editor rather than adding a column using LOOKUP?  I'm not sure if this will fix your problem (or is feasible) but this way the column will be loaded into the data model and it shouldn't cause a dependency error

 

Phil_Seamark
Employee
Employee

Hi @mv124,

 

Rather than add a column, have you considered creating these as Calculated Measures instead?


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

Proud to be a Datanaut!

I tried creating calculated measure and it gave me the same error.

@mv124

Could you post the problematic pbix, with network drive like Onedrive, Google drive. Circular Dependency error depends on the data relationship in your case.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

March 2024 PBI Gallery Image

Power BI Monthly Update - March 2024

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