are these values coming from the same measurement ? then it should be easy like
SELECT “fieldA” - “fieldB” AS “whatever” FROM …
If they are coming from different measurements it is not so easy but possible.
Please have a look then here at the last post --> L I N K