How to shift an item in line items
Hey, is it possible to get a value from column 1 to column 2, from column 2 to column 3 etc for Base Revenue. I would like to calculate base revenue for columns 2,3,4 etc. based on 1 column, but I don't know how to get the value from the previous column.
The target formula would look like this:
IF VALUE(NAME(ITEM('Number of Stores'))) = 1 THEN
21885929
ELSE
Previous Column (Base Revenue) * 0.9
Where lookin for formula is Previous Column which return value for previous column base revenue line item
Best Answer
-
Hey @KacperSzafranski13, Functions like OFFSET, Previous or Lag won't work in this case as they are time based functions so they work with time as a dimension.
For this case, I can suggest you to create another lineitem which will item of lists in next position like 2 will have value as 1, 3 will have value as 2 and so on.Note that the "Item" -Line item is numbered formatted one.
After then you can simply lookup the value based on this new line item.2
Answers
-
Hey @KacperSzafranski13, Create another lineitem and use offset function.
Formula example: OFFSET(Base Revenue, -1,0)
Regards,
0 -
@umangsinghal thanks for your answer but OFFSET don't work for this example
OFFSET set value from FY22 not from previous column.
0 -
KacperSzafranski13
Hi Previous or Lag function will work for your scenario.0