Solved

Crystal Reports:  Create a totals amount at end of report

Posted on 2011-03-16
4
280 Views
Last Modified: 2012-05-11
Experts,

I am looking to find a way to create at the end of my report the total amount of times the certain values are being populated.  Example:  Count the amount of times the word "Completed" is displayed in the "Status" column. I will then use that code to write for all status for that column like "Closed", "Aborted", and " Work In Progress".

Using Crystal 2008
Thanks,
Change-Control-Report.rpt
0
Comment
Question by:Maliki Hassani
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
JayConverse earned 250 total points
ID: 35153331
Make a formula like:

If {myfield} = "Completed" then 1 else 0

and sum that formula
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 250 total points
ID: 35153585
Agree.  Create a formula for each possible value of status.  You can then use the summary functions to get the total count and display it in a summary at the end of the report.

mlmcc
0
 

Author Comment

by:Maliki Hassani
ID: 35168602
So my design changed so I am think this is why it isn't working.  I have created a formula like you stated, and sum up the results using the running Totals Fields.  I am not sure why I am getting a 0 as a return.  You can find my running total at the top of the report by scheduled. Change-Control-Maintenance.rpt
0
 

Author Comment

by:Maliki Hassani
ID: 35168793
Got it!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

758 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

19 Experts available now in Live!

Get 1:1 Help Now