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: Crosstab value based on another row
Author
Message
cajsoft
Newbie
Joined: 23 Feb 2009
Location: United Kingdom
Online Status: Offline
Posts: 23
Topic: Crosstab value based on another row
Posted: 05 Sep 2012 at 11:43pm
Hi, I'm using CR 10.
I have a Cross tab like the following
disabled Not Disabled total
2 8 10
20% 80% 100%
basically, what I want to do is hide the percentage figure if the numerical figure is below 5. i.e.
disabled Not Disabled Total
2 8 10
80% 100%
is this possible?
thanks
Craig.
IP Logged
Sastry
Moderator
Joined: 16 Jul 2012
Online Status: Offline
Posts: 537
Posted: 06 Sep 2012 at 12:16am
Yes, it is possible.
Right click on the field (2) and go in format field --Suppress --Formula editor and give the follwing condition
Whileprintingrecords;
numbervar x;
x:=Currentfieldvalue;
Now righ click on percentage field and go in Format field--
Common Tab--Display string -Formula editor and give the following condition.
WhileprintingRecords;
Numbervar x;
If x < 5 then
" "
Else
Currentfieldvalue
Thanks,
Sastry
IP Logged
cajsoft
Newbie
Joined: 23 Feb 2009
Location: United Kingdom
Online Status: Offline
Posts: 23
Posted: 06 Sep 2012 at 1:10am
thanks for replying.. that seemed to fix my issue.
Craig.
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.