COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: JBCLARK20 on 09 Apr 2014 10:30:28 AM

Title: Joining Queries - Cardinality- Unmatched
Post by: JBCLARK20 on 09 Apr 2014 10:30:28 AM
Hi All,

I have a variance report to run between 2 data snap shots.
I want to find those items that are in the Current snap shot and not in the Old snap shot.
Can this be done by setting the Cardinality in the Join Queries dialog box in Report studio?
If so how does one set the cardinality for an unmatched join?

Thank you.
 
Title: Re: Joining Queries - Cardinality- Unmatched
Post by: MFGF on 09 Apr 2014 10:39:37 AM
Hi,

I'd suggest an "EXCEPT" item from the toolbox might produce the desired outcome? It will return the rows in one query that don't exist in the other. Of course, the queries have to have the same number of items with the same data types for this to work - just as with a UNION.

Cheers!

MF.