Calculated field
Posted: 2020-01-09 00:48
Hi,
I have :
cars.id,
card.registration
diesel.id
diesel.car(lookup to cars.id)
diesel.date
diesel.km
difference - calculated field.
How can i calculate difference if i want it to show the difference between the last 2 inputs for the same car?
Basically when a user adds diesel to car he inputs the km number every time and i want to calculate the difference between the last 2 inputs automatically.
Thank you!
I have :
cars.id,
card.registration
diesel.id
diesel.car(lookup to cars.id)
diesel.date
diesel.km
difference - calculated field.
How can i calculate difference if i want it to show the difference between the last 2 inputs for the same car?
Basically when a user adds diesel to car he inputs the km number every time and i want to calculate the difference between the last 2 inputs automatically.
Thank you!