Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Sum for distinct DocNo Post Reply Post New Topic
Author Message
crstar
Newbie
Newbie


Joined: 02 Aug 2012
Online Status: Offline
Posts: 31
Quote crstar Replybullet Topic: Sum for distinct DocNo
    Posted: 12 Sep 2012 at 10:21pm
I have a crystal report is having a Grouping by DocNo and list of data at Details section. I hv suspress the details section hence only show the group header.
 
I would like to sum the value of a field at Group Header:
Example of report:
 
Group DocNo 1, MaxQuantity
------------------------------------------------------
DocNo 1, MaxQuantity
DocNo 1, MaxQuantity
DocNo 1, MaxQuantity
 
 
Group DocNo 2, MaxQuantity
------------------------------------------------------
DocNo 2, MaxQuantity
DocNo 2, MaxQuantity
DocNo 2, MaxQuantity
 
I would like to have a sum which only add MaxQuantity of Group DocNo 1 and Group DocNo 2.
 
While i do the formula to sum Quantity, it will sum the quantity at details section.
 
Any idea how to only sum the value at Group Header?
 
Thanks..
IP IP Logged
Crystal User
Newbie
Newbie


Joined: 25 Aug 2011
Online Status: Offline
Posts: 5
Quote Crystal User Replybullet Posted: 13 Sep 2012 at 2:24am
Hi,
 
Go to File menu>>Insert Summary>>choose field MaxQuantity from the dropdown. Place the field in the group footer.
 
Hope this helps!
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.