Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Duplicate Records when Grouping

Posted on 2013-12-18
4
Medium Priority
?
287 Views
Last Modified: 2014-01-16
I am Grouping the report by Item and I want the total for that month in sales.
Unfortunately that item is found in multiple bins for that same order so it would add multiple times the same item for that order :/

I have tried putting onfirstrecord but get an error message since this is a field that is getting summarized. Here is the that is generating the summary for that item:

if  {SYSOENT.ORDER_DATE}>= {@FromDate3} and  {SYSOENT.ORDER_DATE} <={@ToDate3} then
    {LINEITEM.QTY_SHIPPED}
    else
0
0
Comment
Question by:CarloVasquez
4 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 600 total points
ID: 39727205
You need to filter based on the bin or not include the bin in the query.

mlmcc
0
 
LVL 35

Assisted Solution

by:James0628
James0628 earned 600 total points
ID: 39728807
FWIW, OnFirstRecord probably wouldn't help you anyway.  It's only true for the very first record in the report.

 If you can't eliminate the extra bins, as mlmcc suggested, then a regular summary may not work.  You may be able to use variables.  The specifics would depend on exactly how your data and report are structured.

 James
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Integration Management Part 2
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month11 days, 8 hours left to enroll

916 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