Why are my grand total and/or summaries incorrect after performing a group selection or Top N/Bottom N sort?
While record selection is evaluated during the first pass, group selection is evaluated in the second pass. Because Crystal Reports creates summaries in the first pass (therefore prior to evaluating group selection), the summaries don’t reflect the groups that have been suppressed from the report. To correctly summarize and/or grand total a report that has a group selection formula, creating running totals, either using variables and the WhilePrintingRecords function, or with the Running Total Expert (available only with version 7 and 8). Crystal Decisions has an excellent document that describes this process in detail and will give more information on why if you have a count() or Sum() function in your formula you would not be able to summarize on it. You can find this document at http://support.crystaldecisions.com/communityCS/TechnicalPapers/scr7_evaluationtime.