Solved

Grand Total Based On A Field

Posted on 2011-03-03
2
915 Views
Last Modified: 2012-05-11
I need to display a grand total both full total and a total based on the value of another displayed field.  For example, I have a report that looks something like this:
Salesman	Sales Amt	Phone Sales?
Joe Bleaux  123,456.00	    N
Jane Doe     54,756.24      Y
Fred Mertz   91,876.00      N

Sales Total 260,088.24
Phone Sales  54,756.24

Open in new window


How do I do this (and hopefully be able to display the total on the report header)

TIA
0
Comment
Question by:Clif
2 Comments
 
LVL 26

Accepted Solution

by:
Kurt Reinhardt earned 500 total points
ID: 35027595
For the Grand Total, simply right-click the Sales Amt field and choose Insert Summary.  Place the Summary in the Report Header or Foot

For the Phone Sales Total, create a formula that evaluates the Phone Sales Value:

If
  {table.phonesales} = 'Y'
Then
  {table.salesamt}
Else
  0

Add this field to the detail section of the report and then right-click it to Insert Summary and place summary in either the Report Header or Footer..  Remove from report once you've created the summary.

~Kurt
0
 
LVL 10

Author Closing Comment

by:Clif
ID: 35027878
That did it.

Thanks.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

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. …
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

809 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