Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Crystal report summary of two running total

Hi Please help me on my report. i do have 2 groups on my report which are group1 = company group2 = DR#.

i do have a running total for maximum of number_of_box. and its working fine.

1 company can have multiple DR. showing of maximum number_of_box per DR is ok.

but i wish to summary those running fields and show it in the GF1 (company).

please help and thanks


Former Member

Hi Karlo,

Here's what you need to do:

1) Create a formula with this code and place this on the GH2:


numbervar gmax := gmax + Maximum({No_of_box}, {DR#_field});


2) Create another formula and place this on GF1:


numbervar gmax;

3) Create one last formula and place this on GH1:


numbervar gmax := 0;


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question