Solved

Crystal 2008 Summary formula

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Crystal Report Error 14 72
cross tab crystal reports - filter a row 7 47
Use data from .txt file into Crystal reports 9 46
How to Bold a formula within another formula 4 30
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

943 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now