Good, I need to perform a calculation that brings me the difference between a current value and a previous value .....
The schema would be the following:
Fecha | Costo | Diferencia
15/02 | 1500 | 0
17/02 | 1600 | 100
19/02 | 1500 | 100
20/03 | 1500 | 0
:
:
The difference column is the one I want to obtain, which would be the difference between the values in the Cost column.