Haven't tested this so am not absolutely certain it would work, but instead of creating a formula that calculates the difference between two running totals, create another running total that sums the difference between the two amounts (using a formula in the RT "Evaluate" section) to calculate the difference at the detail level.
Does this help?
Cheers
Pete