modified data return for aggregated totals and not transactions