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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
catrin_reach
Frequent Visitor

Circular dependency error

Hi all,

 

I am relatively new to PowerBI so am struggling with an error on circular dependencies. I've read a lot of post forum posts on this, watched youtube videos etc and still don't understand how to solve it. I've tried! 

 

The end goal is to calculate the number of children who have attendance <=90%, <50% and =0%. I've created the <=90%  with the 'Meets PA threshold' as a column in the table, and then PA# and PA % as measures. When I create the <50% column I get the circular dependency error. 

 

This is my current formula for Meets PA threshold:

Meets PA threshold =
IF (
    AND (
        [Stat sch age %] <= 0.90,
        'Attendance all children'[Possible attendance sessions] > 0
    ),
    "Yes",
    "No"
)

 

 

Can anybody help please? Thanks in advance. 

4 REPLIES 4
v-zhangti
Community Support
Community Support

Hi, @catrin_reach 

 

What is your formula? Which step went wrong?

vzhangti_0-1665733456249.png

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

It goes wrong when you create more than one column and when I use that DAX as a measure I get an error that says a single value for column 'Possible attendance sessions' can't be determined. 

 

Here is the pbix file 

Syndicate_Admin
Administrator
Administrator

Maybe the formula is fine and really is more related at the time it calculates is filtering a column that you are calling, to perform the calculation the calculation calls another column that is required but this by the construction of the table or previous formulas is filtered before it reaches the calculation you request, creating a circular relationship, try to make the measurement and not creating columns or changing the relationships of tables that you have that also affect the filters, you can also change the order in which you create the columns.

There is only one table so it is not a relationship issue. 

 

My knowledge of PowerBI isn't good enough to create the same as a measure unfortunately, so any help with that gratefully received. 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.