simplify getting the Transaction column to group by