use row.total instead of row.myOutValue and row.myInValue to know transaction impact.