Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Summing on report disply fields Post Reply Post New Topic
Author Message
kirandb
Groupie
Groupie
Avatar

Joined: 10 Jun 2009
Location: United States
Online Status: Offline
Posts: 69
Quote kirandb Replybullet Topic: Summing on report disply fields
    Posted: 02 Jul 2010 at 8:35am
I have a report which calls a stored proc. All the details columns i display is conditional. So If my SQL returns 100 columns, I might display 10 rows for a report type A, 15 rows for Report type B and so on.
When I try to do the grand total in the Group Footer section, I want to sum the values in the detail section that is displayed on the report but not the sum of all the fields .
I tried giving detail section a formula which takes the column from the SQL,
then tried to sum on this formula for the total. But its not working.
How to handle this ?
Any Suggestions ?
 
Thanks,
Kiran
share your knowledge
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 02 Jul 2010 at 10:29am
You say it is not working.  In what way is not working?
IP IP Logged
kirandb
Groupie
Groupie
Avatar

Joined: 10 Jun 2009
Location: United States
Online Status: Offline
Posts: 69
Quote kirandb Replybullet Posted: 02 Jul 2010 at 10:42am
When the do the sum on the field,i get the sum of all 100 rows of my SQL but i display only 10 rows on my report. Ineed to display the total for those 10 rows only.
share your knowledge
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 02 Jul 2010 at 12:31pm
Are you or can you do a conditional running total, (i.e., only evaluate on certain conditions)? 
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.016 seconds.