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 for Visual Studio 2005 and Newer
:
Report Design
Topic: cross-tab summary
Author
Message
pnini1000
Newbie
Joined: 21 Jul 2010
Online Status: Offline
Posts: 14
Topic: cross-tab summary
Posted: 24 Jul 2011 at 11:31pm
Hi all,
I have a cross tab in the report.
I want to sum up in the summarized field only amounts that greater than 0.
I tried to use a formula:
if({DataTable.TotalSum}>0) then
sum({DataTable.TotalSum})
but the amounts don't reset on every group.
how can I do it in cross tab?
thanks,
pnini1000
IP Logged
hilfy
Admin Group
Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Posted: 25 Jul 2011 at 8:23am
Are you using Crystal's Cross-Tab component or are you manually creating a cross-tab?
If you're using Crystal's cross-tab, create a formula like this:
If {DataTable.TotalSum} > 0 then {DataTable.TotalSum} else 0
Place the formual in your cross-tab and configure it for a sum.
If you're manually creating your cross-tab, use the same formula then add a summary field that will show the sum by group.
-Dell
Proviti, Data & Analytics Practice
www.protiviti.com/US-en/data-management-advanced-analytics
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.