Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Summary Count Post Reply Post New Topic
Author Message
jbozard
Newbie
Newbie


Joined: 10 Sep 2010
Location: United States
Online Status: Offline
Posts: 2
Quote jbozard Replybullet Topic: Summary Count
     Posted: 10 Sep 2010 at 4:48am
I have a simple report that shows work order details for our company, this report has a grouping of work order ids and then I have a summary in that group section which is a count of work order ids, so one work order may have a count of 1 (only one detail record) some may more. What I need is a distinct count of the work order ids where the group count (summary)  is greater than 1.  I need to know how many work orders have more than one detail record - really need to know how to do this --- Crystal 9

Edited by jbozard - 10 Sep 2010 at 4:53am
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 10 Sep 2010 at 6:46am
group on order ID
create a summary as a count of orderID at the orderID group level
crreate a Running Total
Field to sumamrize=OrderID
type=DistinctCount
evaluate=use a formula
COUNT(orderid,orderid)>1
reset=never
place in report footer
IP IP Logged
jbozard
Newbie
Newbie


Joined: 10 Sep 2010
Location: United States
Online Status: Offline
Posts: 2
Quote jbozard Replybullet Posted: 13 Sep 2010 at 1:02am
Worked perfectly, did not know you could put running totals in the report footer. Thanks and this will help with a number of other reports as well.
IP IP Logged
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