Solved

Grand Total Based On A Field

Posted on 2011-03-03
2
912 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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. …
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

706 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

18 Experts available now in Live!

Get 1:1 Help Now