Solved

Duplicate Records when Grouping

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This video discusses moving either the default database or any database to a new volume.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 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

18 Experts available now in Live!

Get 1:1 Help Now