Added code to check for totals only

Did not have code in report to allow totals only