Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Filtering Post Reply Post New Topic
Author Message
HEMREDDY
Newbie
Newbie


Joined: 31 Jul 2013
Online Status: Offline
Posts: 38
Quote HEMREDDY Replybullet Topic: Filtering
     Posted: 04 Mar 2014 at 6:25am
Hi,
 
I have the folloiwng data
 
Item #      qty sold         sales           average price
 
123              5                100.00
123              7                  75.00
 
 Totals        12               175.00           14.58
 
254               6                600.00
254               5                500.00
 
 Totals         11              1,100.00          100.00
 
I have used the sum to get the totals by item group and used the group totals for getting the average price (175/12 and 1100/11). Now i want to filter the records to show oply records where the Average Price is >= 95.00. When i use the group while selecting records i am getting a message that This formula can not be used because it must be evaluated later. Can someone help.
 
Hem Reddy
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 04 Mar 2014 at 1:59pm
You would need to do a group select
try and add that criteria the criteria in the group select as
 
(sum(sales,item#)/Sum(qty_sold,item#))>=95
 
I think that both values should be available in the group select pass.
Note that group selection criteria leaves 'omitted' groups in the group tree and includes them in other summarizations (like a report sum)
IP IP Logged
HEMREDDY
Newbie
Newbie


Joined: 31 Jul 2013
Online Status: Offline
Posts: 38
Quote HEMREDDY Replybullet Posted: 05 Mar 2014 at 1:36am
Dear Mr. Blank,
 
Thank you very much.
 
Hem Reddy
 
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