Transformation calculation for multiple rows

Is it possible to do transformation binary operations between separate rows?
Not the same row. I have two queries and each return value at a different time, is it possible to do any calc between them?