Based on the xml file (data) generated, aren't you able to regroup as necessary within the RTF?
Another option would be to write to a table and then have a few data sets querying against the table.
You need to provide your xml snippet and your required output for us to be able to help you.
Thanks for the reply Bipuser. I have not been formally trained and the only way I know how to use this application is by creating a data model with sql and then creating a report. I think this is different than what you are describing with the RTF (I think that's in MS Word). does this new information change anything?