Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Group some records and sum Post Reply Post New Topic
Author Message
fernando
Newbie
Newbie


Joined: 19 May 2008
Location: Portugal
Online Status: Offline
Posts: 3
Quote fernando Replybullet Topic: Group some records and sum
     Posted: 19 May 2008 at 9:18am
hy there!!!
 
iam having some problems to make a sum of some fields of my report:
 
item name  -    price type    -    price      - date
 
item nº1     -        MAT         -    0,2123   - 31-01-08
item nº2     -        MOQ        -    0,1272   - 31-01-08
item nº3     -        NUM         -    0,3312   - 31-01-08
 
 
the list has +140.000 records, and what i wanted to do is to sum the total price (item nº1 + itemnº2 + item nº3) of the items in the last day of each month.
 
Another big problem is that, not all of the items have 3 prices, some have 3 some have 2 and some have only 1 price
 
is there anyone that can help me?????
 
thanks you so much.... Wink
IP IP Logged
imstillfishing
Newbie
Newbie
Avatar

Joined: 09 May 2008
Location: United States
Online Status: Offline
Posts: 11
Quote imstillfishing Replybullet Posted: 19 May 2008 at 7:39pm
Try using a running total instead of the sum function.
In the running total use the evaluate on formula option to specify the last day of the month critera in which to total on.
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