Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Crystal 2008 Summary formula

Posted on 2013-06-25
1
Medium Priority
?
292 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 2000 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

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 …
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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

721 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