Forum Discussion
rpinxt
Solution Sage
3 years agoWhy do I get Circular Dependancy
Making calculated columns my first one is this : IF('AVN Rework Merge'[Flow] = "Reworked" && [Amt USD] > -50,[Quantity],0) It works fine and gives me the quantity that I expected. Now I want...
- 3 years ago
rpinxt I agree with m_alireza. Also, any specific reason why you went with Calculated Columns instead measures?
I rewrote the logic as a measure for you. Check if this meets your requirementReworked Qty <50__ = VAR Result = CALCULATE( [Quantity], FILTER('AVN Rework Merge', 'AVN Rework Merge'[Flow] = "Reworked" && [Amt USD] > -50) ) RETURN COALESCE(Result,0)
SivaMani
Resident Rockstar
3 years agorpinxt, What about the 'AVN Rework Merge'[FinAmtUSD] and 'AVN Rework Merge'[Flow]? Are they direct columns from the source or calculated in Power BI?
rpinxt
Solution Sage
3 years agoFinAmtUSD is directly from the source.
Flow is also directly from the source be it that it comes from an excel file.
The excel file was merged with the source based on a similar field in both the source and the excel file (FlowKey).
So in base the 2 fields are not calculated.