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
Qazybek
Frequent Visitor

Circular Dependency detected issue

Hello all,

 

Here is a link to my demo-table. I want to create the same table using DAX in PowerPivot Data Model but can't figure out how. The problem is a circular dependency. Can someone please help?

1 ACCEPTED SOLUTION

In your query, duplicate your F column. Use that column to calculate C.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

8 REPLIES 8
Greg_Deckler
Super User
Super User

Yes, that is going to create a circular dependency, not sure what else to say. E comes from C, F comes from C and E and C depends on F, so...


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Thank you for reviewing. Any chance to avoid circular dependency here?

In your query, duplicate your F column. Use that column to calculate C.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Do you mean in PowerQuery? I don't see this column there 😞 It should be calculated one

You should listen to Greg.  Column C points to F and F points to C.  It doesn't matter that the rows are different. it works column by column, not row by row.  I suspect you may be able to do it with a combination of combining the formulas into 1 or 2 columns, plus using this technique I show here. https://exceleratorbi.com.au/user-specified-growth-investment-using-power-bi/ 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

Greg, Matt, Thank you very much!

Qazybek
Frequent Visitor

Here is what I tried to do. Can anyone update?

 

Everything is in the Data Model. I need to adjust Assets BoY after Injection column

Do you solve this case? can you share with me? i get the same issue...:(... Please help me solution.

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

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors