Forum Discussion
Alanlu
3 years agoNew Member
Strange circular dependency issue
Hi guys, I have encountered some strange circular dependency error which I do not see any connection between each section. TG (Plan) has already been calculated using plan number - current sa...
amitchandak
3 years agoSuper User
Alanlu
3 years agoNew Member
amitchandak It's not working as I expected.
maybe I should explain a bit more regarding the format of the data.
[CY rev] contains multiple posting dates and customer#
[AOP] and [LE] are allocated monthly only.
I would like to see the to-go value va AOP and LE for MTD, QTD and YTD.
Thanks
- amitchandak3 years agoSuper User
Alanlu , Please share the formula
Also, Refer
https://www.sqlbi.com/articles/avoiding-circular-dependency-errors-in-dax/
- Alanlu3 years agoNew Member
amitchandak the formula for TG(Plan) is below
TG (Plan) = CALCULATE(SUM('sales'[AOP])-CALCULATE(SUM('sales'[CY rev])))I tried the formula for TG(LE) as belowTG (LE) = CALCULATE(SUM('sales'[LE])-CALCULATE(SUM('sales'[CY rev])))it did mentioned similar in the video but I cannot add 'allexcept' in the formula, so maybe should try some ways?This is all the columns I have in the table