?
Solved

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

Posted on 2008-06-26
2
Medium Priority
?
192 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 101

Accepted Solution

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

mlmcc
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

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. …
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 …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

801 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