Hey! I'm currently working an app where I've created a timeline trying to project numbers.
However, I'm facing a problem trying to get a value calculated today to stay constant throughout future periods.
The variable in itself varies with time, but I just need the time calculated today.
Then I have another variable, which can only be calculated in future periods (varying with future time) to be multiplied by the constant value throughout the future time.
I've currently made an if-else statement, where the blue represent actual values until today, and the red should represent future projections:
Can anybody help here?