Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Report Design
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Report Design
Topic: Filtering out the Group records on a condition
Oldest Post First
Newest Post First
Author
Message
Nav522
Senior Member
Joined: 25 Aug 2009
Location: United States
Online Status: Offline
Posts: 166
Topic: Filtering out the Group records on a condition
Posted: 28 Jun 2018 at 8:01am
I have a report where i'm trying to filter out the records in a group but the formula is not working
Selection Formula(Group) I have now in Group record filter is
ProcessDt in ProcessDt and SUM(CALCAMT) = SUM(RETAMT)
Data is below
I have grouping on PID
Scenario#1
Detail :ProcessDt PID TransID CALCAMT RETAMT DIFF
5/25 1234 DU 1500 3000
5/25 1234 RC 0 3000
5/25 1234 DU 1500 3000
Data I wanna see on GF is below
GF 5/25 1234 $3000 $3000 $0
Scenario#2
Detail :ProcessDt PID TransID CALCAMT RETAMT DIFF
5/28 7658 DU 390 190
5/28 7658 RC 0 190
5/28 7658 DU 190 190
5/28 7658 DU 0 190
Data I wanna see on GF is below
GF 5/28 7658 $190 $190 $0
Edited by Nav522 - 28 Jun 2018 at 8:20am
IP Logged
Sastry
Moderator
Joined: 16 Jul 2012
Online Status: Offline
Posts: 537
Posted: 24 Jul 2018 at 12:52am
Hi
Go in Report-- Group selection formulas and try below
SUM(CALCAMT,{PID}) = SUM(RETAMT,{PID})
Also not getting how you want to filter on ProcessDt, it is a column and you can't compare values in a column without previous() or Next().
Thanks,
Sastry
Thanks,
Sastry
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
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.
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
CLICK PLAYS
|
COACH FORUMS
|
TROPICAL FISH
© 2004-2024 Brian Bischof. All Rights Reserved.