The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I'am trying to calculte my result + another measure but it keeps generatin circular results
Circular Dependency: Measure: 'Medidas'[Result], Measure: 'Medidas'[Total Variable], Measure: 'Medidas'[Value to rec Step I], Measure: 'Medidas'[Result Aloc Step I], Measure: 'Medidas'[C/C], Measure: 'Medidas'[Result].
Hi,
Share some data to work with, explain the question in simple English and show the expected result.
Hello @pborah when I try to calculate
C/C based on the [Result]:
Thanks @cqueiroz2222 can you tell me the order of your measure calculations? As in which one you are calculating first, second, third,......, last?
Hello @pborah
Ok, see below the order. All the measures that I am using is these ones above. Please let me know if you need them again
1. Calculating the result:
Hello, @pborah
Of course, see below:
Value for Rec = [Result I] * [% Result I]
Result I = CALCULATE( IF( [C/C] < 0, 0, IF([C/C] > 0, IF([C/C] < [Target], [C/C], [Target]) ) ) )
The central idea is: AFTER all my calculations, I want to get the value that results in [Total Variable] and “return” to [Result] as compensation based on the previous month
Example:
If I had a result of 140 in the current month
And I had a variable in the previous month of 500,
I want this variable value to be added in the current month and therefore recalculate all other measures that depend on [Result] without generating circular dependence