SUM of the details in group header Crystal reports

21,487

Running Totals won't work in a Group Header section because of the way they are evaluated. Instead, you could just use a regular summary function and place it in the Group Header. You can do this by either right-clicking the field to summarize, selecting "Insert", and then "Summary" or by creating a formula:

sum({table.field_to_summarize},{table.field_you_are_grouping_on})

Share:
21,487
Rohit Chaudhari
Author by

Rohit Chaudhari

Hi, I am Computer Engineer, and Working as a Lead Engineer, Business Intelligence.

Updated on April 22, 2020

Comments

  • Rohit Chaudhari
    Rohit Chaudhari about 4 years

    I am generating the crystal report in the ASP.NET/C# Website. I require the groupwise sum in the header of the group, When I add the SUM field (Running Total Field) shows the first entry of the records is there any way to show the total of all records in details in the header of the same group?

  • Rohit Chaudhari
    Rohit Chaudhari about 11 years
    could you suggest any link for the example, I have not tried the subreport yet....
  • Haresh Kumar
    Haresh Kumar over 7 years
    Worked for me. Thanks