Forum Discussion
A circular dependency was detected
Hi PaulDBrown
Can you please have a look at my pbix?
I don't know how to use calculate + allExcept with an if function:
Can you please further advise?
Thanks!
OK, first of all, can you check both calculated columns? they appear to calculate the same value.
Secondly, is there a particualr reason you need these calculations as calculated columns? they appear to be best suited as measures (unless you are going to filter by the resulting values)
To answer your question, this code works:
- o593935 years ago
Post Prodigy
hi PaulDBrown
Yes, I might need to filter by the resulting value too.
I tried your code but it still says there is a circular dependency 😞
Please see attached the pbix updated.
When you say both columns calculate the same value, what do you mean?
Thank you for the help, really apppreciate it. - o593934 years ago
Post Prodigy
Hi PaulDBrown '
Did you have a chance to see the pbix above? The error still displays with your code.
Regards.