Difference between two consecutive poins

Hi,

My points in my DB are the total up-links, I want to display the difference between the two, so the difference of 159123 - 159085 at epoch 1596352429461149465

DB points
1596348829461149465 eui-b827ebfffe400c98 159085
1596352429461149465 eui-b827ebfffe400c98 159123