You have two basic options. The easiest is to have the database return the data alongside the initial data. You then get two datatables, one for individual data and one for aggregates. If you need something more dynamic on the client then you need to create a secondary table and set the expression property of the columns to point at the first tables rows.
See these links:
Joe (Microsoft MVP - XML