Solved

Duplicate Records when Grouping

Posted on 2013-12-18
4
269 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 100

Accepted Solution

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

mlmcc
0
 
LVL 34

Assisted Solution

by:James0628
James0628 earned 150 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

831 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