Hi,
I am trying to create a new column in a table which has the values of another column, but from a different row.
i.e. if the variable 'Price' has row values of [ 1 ]
[ 2 ]
[ 3 ]
I want to create another column 'Price(t-1)' with values [ 1 ]
[ 1 ]
[ 2 ]
Note; the actualy case has varying integers which are not in order.
I've looked around but can't really find a place to start. I've attached an image of the 'Price' column in my table. Any help would be appreciated!
Best Answer