Solved

Crystal 2008 Summary formula

Posted on 2013-06-25
1
290 Views
Last Modified: 2013-06-25
Hello All,
Iam facing a situation where
lets say
the report looks like below say there is a field Rx#.If Rx# is zero then the summary which is the count of Rx# should be zero.If there is a value in rx# other than zero then the summary should count the rx# which are not zero.
Please help.
Thanks.
0
Comment
Question by:Star79
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 14

Accepted Solution

by:
LinInDenver earned 500 total points
ID: 39275913
Create a new formula, which will be used to count (or not count) each row returned:


If {table.rxfield} = 0
then 0
else 1

Drop this formula onto your report in the detail section.

Right click on it and you should see a choice to Insert a Summary.

Choose to SUM the field, and place it into the group footer or report footer. If you have multiple footers, you can actually copy and paste the inserted summary into all of them and it will automatically sum for that section. You can also place them in report header and group headers if you want to see the totals on top.
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question