Solved

SUPPRESS DUPLICATE ROWS FROM REPORT

Posted on 2014-01-09
8
3,466 Views
Last Modified: 2014-01-20
Is there a way to suppress duplicate rows from a report.
My Sp is returning multiple rows becuase of a left join.Is there a way to suppress the duplicate rows.
Thanks.
0
Comment
Question by:Star79
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 8

Accepted Solution

by:
5teveo earned 333 total points
Comment Utility
Can you make changes to SP - if yes...

Remove duplicates from SP
 by removing unneeded unique row column values and use distinct...
0
 
LVL 13

Expert Comment

by:Ashok
Comment Utility
In the section expert try using a formula like this in the suppress field to hide the extra rows

{table.IDfield}=previous({table.IDfield})

HTH
0
 

Author Comment

by:Star79
Comment Utility
Steveo, I feel I wouldnt be able to do a distinct on the Sp as Iam selcting a text value in my query.
Any way I can remove them on the report.
0
 
LVL 13

Expert Comment

by:Ashok
Comment Utility
Which version of Crystal Reports are you using?
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:Star79
Comment Utility
crystal 11
0
 
LVL 13

Assisted Solution

by:Ashok
Ashok earned 167 total points
Comment Utility
To suppress duplicate rows because of description variations

Select the field that is duplicated, use the section expert, be sure to choose “details”,insert formula in the Suppress (no drill-down) formula field (X-2)

Insert formula (based on the duplicated field) =previous, second field statement must be in parenthesis!
 
My sample formula
{PART_RECENT_WORK_ORD.PART_part_no}=previous({PART_RECENT_WORK_ORD.PART_part_no})
 

Save, and refresh and they are gone!
 
The action of the  formula is if the field you choose is the same as the previous row the complete row is suppressed.
0
 
LVL 8

Assisted Solution

by:5teveo
5teveo earned 333 total points
Comment Utility
I have had to format 'Summary' reports in the past not using the 'Detail' portion of report. Can you target Header and footer areas?

or

May need to try processing input data using 'WhilereadingRecords' or WhilePrintingRecord' and build record comparison logic.

http://scn.sap.com/thread/1715251
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Is this the detail that is showing the duplicates?

Can you add a group to the report and show the details in the group header?

mlmcc
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 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

6 Experts available now in Live!

Get 1:1 Help Now