Forum Discussion
Circular Dependency error
- 4 years ago
Hi vaz19 ,
If there is only one data table in the report, you need to set a key column for the table and then use removefilters() in the two calculated columns:
Column = VAR TD = [TD_Game%] VAR RESULT = TD / 4 RETURN CALCULATE ( RESULT, REMOVEFILTERS ( 'Table'[Column 2] ) ) Column 2 = VAR td = [TD_Game%] VAR result = td / 4 RETURN CALCULATE ( result, REMOVEFILTERS ( 'Table'[Column] ) )Please refer this blog: Avoiding-circular-dependency-errors-in-dax
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi vaz19 ,
If there is only one data table in the report, you need to set a key column for the table and then use removefilters() in the two calculated columns:
Column =
VAR TD = [TD_Game%]
VAR RESULT = TD / 4
RETURN
CALCULATE ( RESULT, REMOVEFILTERS ( 'Table'[Column 2] ) )
Column 2 =
VAR td = [TD_Game%]
VAR result = td / 4
RETURN
CALCULATE ( result, REMOVEFILTERS ( 'Table'[Column] ) )
Please refer this blog: Avoiding-circular-dependency-errors-in-dax
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.