Solved

Crystal 2008 Summary formula

Posted on 2013-06-25
1
286 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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

729 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