Solved

Crystal 2008 Summary formula

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Crystal Reports with Yardi error 800a004b 2 165
Installation package ASP.NET with Crystal Reports version 13 12 85
Crystal Reports Date Calculation 10 52
Crystal Reports 2013 25 77
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…
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 …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

732 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