COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Framework Manager => Topic started by: smtest on 13 Nov 2011 08:18:25 AM

Title: Trying to implement (<=) cardinality in framwork manager
Post by: smtest on 13 Nov 2011 08:18:25 AM
hi,
i am trying to create a less than equal cardinality in framework manager. But i am getting full outer join issue.

This is how the data looks:
Department                   Department1
100000                            100000
100001                            100001
100002                            100002
                                           100003
                                          100004

But because of full outer join, i am getting 3 * 5 =15 rows

all i am trying to achieve is when
department1 = 100003, then i will get in department (100002)
department1 = 100004, then i will get in department (100002)
department1 = 100002, then i will get in department (100002)

please advice

Title: Re: Trying to implement (<=) cardinality in framwork manager
Post by: blom0344 on 14 Nov 2011 08:33:41 AM
Aren't you confusing full outer join with a cross join?  A cross join would yield  3x5 combinations
A  <= join would fetch  3+3+3+1+1 =  11 combinations