Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
alexandermllr
Creator
Creator

Last year Sales in Script

Hello,

i want something like this:

if(Year = '2017',Price*Percent,Price) as New_Price

If the Year is '2017' it should take the Price from Year = '2016' and so on...

Always the last year Price.

Thank you

2 Replies
sarvesh
Creator III
Creator III

Try this:


For last Year:-=  =Sum({$<Year={$(=Max(Year)-1)}>}Sales)



Regard's

Sarvesh Srivastava

sunny_talwar

May be look into The As-Of Table