Forum Discussion
Mauerwinkel
4 years agoRegular Visitor
Running total with upper and lower limit
Hello, I want to calculate a running total with upper and lower limit. In my example upper limit is 8000, lower is 0. The formula in excel looks like this: =WENN(([@[Einspeisung (Wh)]]-[@[Bezug (Wh...
v-easonf-msft
Community Support
4 years agoHi, Mauerwinkel
Not fully sure what you want. Can you share the expected result in excel?
Does the value in the cell E12 in the formula have any special meaning?
Please check if the following formula helps:
Result =
VAR E12 = 81
VAR a = 'Table'[Einspeisung (Wh)] - 'Table'[Bezug (Wh)] + E12
RETURN
IF ( a < 0, 0, IF ( a > 8000, 8000 ) )
Best Regards,
Community Support Team _ Eason