Forum Discussion
Otaki
4 years agoFrequent Visitor
Price recursive calculation
Hi, I have the following issue: I have the current price and I have to calculate the final and the future prices based on previous ones with this formula: I've tried this: PriceEndTST_а =...
Greg_Deckler
4 years agoCommunity Champion
Otaki Perhaps:
Final price column =
VAR __Year = [Year]
VAR __PreviousYear = __Year - 1
VAR __PYFinalPrice = MAXX(FILTER('Facts',[Year]=__PreviousYear),[Final price])
RETURN
__PYFinalPrice + __PYFinalPrice * [Increase Percent] - [Decrease const]- Otaki4 years agoFrequent Visitor
This was actually my first idea however it doesn't work from the 3rd row on, as there are no values