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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
eliasayy
Impactful Individual
Impactful Individual

Circular dependency

Hello, i was trying to find the delta variance of 2 columns minutes from table A and minutes from table B.

i used this formula in column inside table B :

Delta =CALCULATE(SUM(TableA[Minutes])-SUM(TableB[Minutes]))
then i needed to find the percentage in Table B by creating a column which is percentage =  delta/ Table A[minutes]
but i get error <pi>A circular dependency was detected: TableB[Delta], TableB[Column], TableB[Delta].</pi>
1 ACCEPTED SOLUTION
v-cazheng-msft
Community Support
Community Support

Hi @eliasayy,

 

To resolve circular dependency issues, you could consider these solutions.

1 Change Calculated column to Measure as amitchandak said

2 Modify your Calculated column formula with some filters functions like REMOVEFILTERS

3 Make some changes to the relationships in your model

 

Please take a look at this blog related to how to fix issue of Circular Dependency: Circular Dependency between Calculated Columns in ... - Microsoft Power BI Community. Hope it helps you.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let me know. Thanks a lot!

 

Best Regards,

Community Support Team _ Caiyun

View solution in original post

2 REPLIES 2
v-cazheng-msft
Community Support
Community Support

Hi @eliasayy,

 

To resolve circular dependency issues, you could consider these solutions.

1 Change Calculated column to Measure as amitchandak said

2 Modify your Calculated column formula with some filters functions like REMOVEFILTERS

3 Make some changes to the relationships in your model

 

Please take a look at this blog related to how to fix issue of Circular Dependency: Circular Dependency between Calculated Columns in ... - Microsoft Power BI Community. Hope it helps you.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let me know. Thanks a lot!

 

Best Regards,

Community Support Team _ Caiyun

amitchandak
Super User
Super User

@eliasayy , You need to create another measure

Delta % = divide( [Delta], SUM(TableA[Minutes]))

 

you should not use measure in a column

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.