-
I have a column with dates: "Date". I would like to create a new column, "PrevDate" with each row's previous Date value. I have tried to add an expression column with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi, to use the values of rows that are before or after the current row, use the For your example: move the cursor to be in the column "Date", then |
Beta Was this translation helpful? Give feedback.
Hi, to use the values of rows that are before or after the current row, use the
addcol-window
command, which is bound tow
.For your example: move the cursor to be in the column "Date", then
w
then1 0
, and then=
andDate_window[1] - Date_window[0]