You can't insert sums on a formula that contains next() or previous() functions, since they are based on a sequence of records. You could use a variable to sum that or you could use the running total solutions, but both would require the result in the group footer.
It appears that you have one sales value per trnxID--if this is true, you could insert a maximum on sales value and then drag the result into the group header.
-LB