Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Dear Team,
I have these two measures, as shown below,
Hi @Anonymous ,
Firstly, the result of [ZF_Formula2] is always "OK", why not adding a column of Text directly?
Secondly, you call a measure in a calculated column, which introduces a filter context by filtering conversion. So there could be a very simple solution that is replacing the measure with the formula directly like below.
ZF_Formula1 = VAR ZF_Check1 = ( [ZF_PM-7] ) - ( [ZF_PM-6] ) + ( [ZF_PM-6] ) - ( [ZF_PM-5] ) + ( [ZF_PM-5] ) - ( [ZF_PM-4] ) + ( [ZF_PM-4] ) - ( [ZF_PM-3] ) + ( [ZF_PM-3] ) - ( [ZF_PM-2] ) + ( [ZF_PM-2] ) - ( [ZF_PM-1] ) + ( [ZF_PM-1] ) - ( [ZF_PM] ) + ( [ZF_PM] ) - ( [ZF_CM] ) RETURN IF ( ZF_Check1 > 0, "Check", "OK" )
Best Regards,
the first fromula1 works but in my second formula, I need to use formula 1, to compare the values, is it possible?
so basically, with your suggestion, if I create this then I get the same error of circular dependency.
Hi @Anonymous ,
The [ZF_Check1] is a column now. You can use it directly in the second measure [ZF_Formula2]. The [ZF_Check2] is a static value in all rows. It should work.
Can you share the file? Please mask the sensitive parts. You only need to keep the minimum rows that can reproduce the issue.
Best Regards,
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |