Date Profit
2018-01-18 3024490
2018-01-17 3985331
2018-01-16 5987905
2018-01-15 5742019
2018-01-14 4645206
2018-01-13 4766255
I have data table like above, want to know profit difference and growth rate between days ultimately.
So I think I had to make a new column called previous day profit
, bring previous day's data into new column and aggregate
between two columns. I mean two days data should be in the same row for example) 2018-1-1 profit / 2018-1-2 profit should be in the same row to compare the prices between 2 days.
Please help me!