Tips and Tricks
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Tips and Tricks
Message Icon Topic: Filter Group by Record Post Reply Post New Topic
Author Message
cyndylewilew
Newbie
Newbie
Avatar

Joined: 11 Sep 2015
Location: United States
Online Status: Offline
Posts: 1
Quote cyndylewilew Replybullet Topic: Filter Group by Record
    Posted: 16 Jul 2019 at 1:30pm
I have a customer report that lists all sales items they will be billed for. Each sales item they will be billed for is listed on its own line. The report is grouped by customer. I want to see only customers who have sales item "x" on their account, but also include information on sales items "y" and "z" that also appear on their account. How do I do that?
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 17 Jul 2019 at 3:11am
create a formula field to 'flag ' the clients based on your criteria then use a summary of that at the group level to do a group selection
--flag
if table.field = 'X' then 1 else 0

SUM(@Flag,table.client)

group criteria
SUM(@Flag,table.client)>0
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.