Optuma Forums › Optuma Scripting › Fix Starting Point for Calculation › Reply To: Fix Starting Point for Calculation
February 24, 2021 at 12:29 pm
#62683

- Topics: 32
- Replies: 1,707
- Posts: 1,739
Hi Thomas,
The value of 100 is not needed.
1 2 3 4 |
Var3 = Var1 - Var2; Var4 = (0.9 * Var3[1]) + (0.1 * Var3); |
Optuma will sort out the first value. You can use BarIndex to do an IF() and do a special case when it is 0, but it should not be necessary.
Hope that helps.
Mathew