I am creating a weight recording application.
I want to use a virtual column to find the increase/decrease value from the previous record, but it doesn’t work.
I am building a similar app, and was having a similar problem. I tried your selected solution, but it was only getting the last row of the table for some reason. I tried this, and it is seeming to get the job done.