Cognos Report Join issue

Posted on 2013-02-05
Last Modified: 2013-03-11

I have report where we are joining 2 queries. But the issue is  it is pulling more data.

Any help what might be causing this..
Question by:new_perl_user
  • 2
  • 2
LVL 12

Expert Comment

ID: 38855489
It's either the join or the relationship of the data between the two queries.
Can you post your combined query along with some data showing the results you get and the results you want?

Author Comment

ID: 38855542
I can't post the query here sorry.. I am using a  0..n = 1.1  relationship between the two queries.

current output:

Received      320

Required output:

Received        275

Expert Comment

ID: 38856750
If you use 0..n, it'll always pull more data.
Try 1..1 -- 1..1 in both side.

Author Comment

ID: 38856914
I tried the above cardinality and the output is  still as above..

Accepted Solution

SNeupane earned 500 total points
ID: 38857055
Then you have to play with aggregation properties for the numbers.
In each query, click on the data item and set 'None' in properties for Aggregate and rollup aggregate.

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

1. Set up your parameter at the report level as usual, check the box Multi-value, and set the Data Type to String 2. Set the Stored Procedure Parameter to varchar(max)  --<---- This part here is the key to it's success Example:    @cst_key var…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

813 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

9 Experts available now in Live!

Get 1:1 Help Now