COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Query Studio => Topic started by: Cognos81 on 18 Oct 2007 09:40:17 AM

Title: Remove duplicate rows?
Post by: Cognos81 on 18 Oct 2007 09:40:17 AM
Can any one know how to remove the dupilcate Values in a report, I tried the Automatically summarize detail values, suppressing duplicates ...when this option is selected  ...we have missing data in the report.

Thanks
Cognos81
Title: Re: Remove duplicate rows?
Post by: rockytopmark on 18 Oct 2007 10:38:26 AM
Duplicate rows are a good indication of something not being modeled correctly. 

I suggest checking your model... the relationships and Determinants within each Query Subject affecting this report.
Title: Re: Remove duplicate rows?
Post by: Cognos81 on 19 Oct 2007 11:33:35 AM
The report has data coming from only 2 Query subjects. And I checked the joins are correct. Sql it is generating is also correct against the data base SQL. But the results are incorrect.


Thanks
Cognos81
Title: Re: Remove duplicate rows?
Post by: rockytopmark on 19 Oct 2007 05:13:53 PM
Well, Cognos 8 generally doesn't generate bad results randomly on its own, so let's delve into the possible problems.

Can you post the following, please:
1) the SQL that your query studio report is generating
2) the SQL generated in the relationship dialog in Framework Manager, for your 2 query subjects in use.
3). Example of your report output, expected and what you are getting.

Title: Remove duplicate rows?
Post by: missperi30 on 25 Oct 2010 10:40:37 AM
Cognos is displaying duplicate rows; need help troubleshooting Framework Manager to remove them.

Thanks,
Peri
Title: Re: Remove duplicate rows?
Post by: MFGF on 25 Oct 2010 11:47:38 AM
Quote from: missperi30 on 25 Oct 2010 10:40:37 AM
Cognos is displaying duplicate rows; need help troubleshooting Framework Manager to remove them.

Thanks,
Peri

Following Mark's advice above would be a good place to start!

MF.
Title: Re: Remove duplicate rows?
Post by: missperi30 on 25 Oct 2010 11:50:54 AM
MFGF,

Is there a way to send this info to you?