COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Framework Manager => Topic started by: kittu7007 on 26 Oct 2009 09:15:39 PM

Title: HOW TO AVOID LOOP JOINS IN FW MGR
Post by: kittu7007 on 26 Oct 2009 09:15:39 PM
Hi all,
Can any body explain me how to avoid loop joins in Report Net FW MGR
Title: Re: HOW TO AVOID LOOP JOINS IN FW MGR
Post by: NaviGator on 27 Oct 2009 02:31:01 AM
Hello Kittue7007,

There are many ways to avoid loop joins.

First of all you have to make sure that you have the right joins and that you have defined the joins correctly. Make sure that the relations between your tables are defined correctly ( one-to-one or one-to-many relations ).

If you have to join 2 tables more than once or if you have to join the table to itself ( Parent-Child relationship ), the best way to model this is to create another copy of the table and use it for the join This will help you to avoid looping.

In the FM manual there is a complete chapter for modeling techniques that you can use to avoid loops or data traps.

Thanks ..
Title: Re: HOW TO AVOID LOOP JOINS IN FW MGR
Post by: kittu7007 on 09 Nov 2009 10:23:29 PM
THANKYOU NAVIGATOR :)
Title: Re: HOW TO AVOID LOOP JOINS IN FW MGR
Post by: Arpitagrawal9 on 14 Jun 2011 02:10:00 AM
In this case,if u are following the arrows concept it will leads us back to where we started. Every query subject in the loop depends on every other, directly or indirectly, including itself. In this case, the arrows don't tell us where to break the diagram, so we have to use our knowledge of the data. Which table has the most rows? That one must be the fact table.

Title: Re: HOW TO AVOID LOOP JOINS IN FW MGR
Post by: sdf on 01 Jan 2018 10:24:21 PM
Hi,

I know this is an old post but with regards to creating shortcuts/alias to avoid loop joins, I would like to know how to treat this kind of relationship in the business layer? Should I select all tables including the shortcut? Coz I'm thinking this might confuse the end users when they are creating reports.

Also is it ok to do the shortcut joins in the business layer instead of the database layer?


Please advise for best practices.

Thanks!