Solved

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

Posted on 2008-06-26
2
189 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 Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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. …
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

726 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