Solved

Is it possible to sum distinct records ie instead of counting them?

Posted on 2008-06-26
2
185 Views
Last Modified: 2008-07-02
I have a report which has records like this:

ID Number      Gross Earnings       Salary Sacrifice    Salary Sacrifice Type
001234           100,000                  200.00                   Car
001234           100,000                  1000.00                  Unit
001234           100,000                  500.00                    Holiday

I need to Group by ID Number and sum the Gross Earnings (ie $100,000 not $300,000) and the Salary Sacrifice ($1700.00) to get a total of $101,700. I have managed to do this by inserting a formula of Maximum (Gross Earnings) + Sum (Salary Sacrifice).

The problem I have is that I now need to add in another group (Supervisor), which means that I can't use the maximum function anymore as it will only produce one record for the group.

Any ideas on how to approach this one?
0
Comment
Question by:spectrum17
2 Comments
 
LVL 5

Expert Comment

by:analliah
ID: 21874796
try using a running total and reset on change of your supervisor grp
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 21885337
That or use a manual running total using formulas and variables.

mlmcc
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

9 Experts available now in Live!

Get 1:1 Help Now