Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Problem with Averaging A Count Summarized Field Post Reply Post New Topic
Author Message
danimal
Newbie
Newbie
Avatar

Joined: 08 Mar 2011
Location: United States
Online Status: Offline
Posts: 5
Quote danimal Replybullet Topic: Problem with Averaging A Count Summarized Field
    Posted: 02 May 2011 at 6:53am
This should be simple, but I am stuck.  The data below shows the number of items sold for each day, and now I would like to capture the average number of items sold each day, but CR will not let me create a formula for the average of these daily counts.  It gives me a "this field cannot be summarized" error.  HELP!
Item Number Sold Date
04/01/2010
100001 04/01/2010
100004 04/01/2010
100002 04/01/2010
Total Sold This Date 3
04/02/2010
100014 04/02/2010
100012 04/02/2010
100011 04/02/2010
100013 04/02/2010
100497 04/02/2010
100500 04/02/2010
Total Sold This Date 6
04/05/2010
100042 04/05/2010
100041 04/05/2010
100039 04/05/2010
100040 04/05/2010
Total Sold This Date 4
Average sold per day
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 02 May 2011 at 7:12am
count(itemnumber)/distinctcount(datefield)
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.