fixing the dashboard data to ignore zeros