Forum Discussion
Anonymous
2 years agoNot applicable
Need Assistance on Error about Circular Dependency
Hi, I managed to create a column for variance using the dax below Variance = CALCULATE(SUM(GRV_SalesItems[Sales Price])) - CALCULATE(SUM(GRV_SalesItems[Purchase Price])) But when I trie...
- Anonymous2 years ago
Hi Anonymous ,
Please try the following formula:
Variance = ([Sales Price] - [Purchase Price]) / [Purchase Price]Create the new column to classify the variance.
Variance classification = IF([Variance] > 0, "Positive", IF([Variance] < 0, "Negative", "Zero") )Drag the date column into the slicer visual.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
DaleT
Resolver II
2 years agoHi,
This blog explains very well about this issue and also it provides the solution. Please refer to it. https://www.sqlbi.com/articles/avoiding-circular-dependency-errors-in-dax/
Dale