Hi,
I think you put the sum field in page footer. You can add a data-group with .t. as expression. When you put your sum field in the footer band of 'data-group', it will be printed just after the last row of data instead of end of page.
Hope this help.
Regards,
Ayaz Ahmed