aggregating in dashboard working