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: Group
Author
Message
leo_dec
Newbie
Joined: 25 May 2009
Online Status: Offline
Posts: 7
Topic: Group
Posted: 28 Aug 2009 at 9:47am
Hi
I want to add one group named "others" which should include all countries except ?USA,India, Egypt. Report should look like this:-
countries sales
usa $20,000
India $25,000
Egypt $20,000
Others $80,000
Thanks
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 28 Aug 2009 at 10:05am
Create a fomula field that yuo can use for the grouping.
Name it whatever "CountryOther"...
if {table.countyfield} in ["USA","India","Egypt"] then {table.countyfield} else "Other"
Note that there is also a top N grouping function if that is really what this is.
IP Logged
leo_dec
Newbie
Joined: 25 May 2009
Online Status: Offline
Posts: 7
Posted: 28 Aug 2009 at 10:21am
Thanks for your help.
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
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
KONACAD
© 2004-2026 Brian Bischof. All Rights Reserved.