Solved

SUPPRESS DUPLICATE ROWS FROM REPORT

Posted on 2014-01-09
8
3,696 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
[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
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 8

Accepted Solution

by:
5teveo earned 333 total points
ID: 39768735
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
ID: 39768745
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
ID: 39768747
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
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.

 
LVL 13

Expert Comment

by:Ashok
ID: 39768759
Which version of Crystal Reports are you using?
0
 

Author Comment

by:Star79
ID: 39768761
crystal 11
0
 
LVL 13

Assisted Solution

by:Ashok
Ashok earned 167 total points
ID: 39768774
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
ID: 39768779
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 101

Expert Comment

by:mlmcc
ID: 39769740
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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. …
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

734 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