If you are unable to create a new account, please email bspsoftware@techdata.com

Author Topic: Loops in FM  (Read 10219 times)

dssd

  • Guest
Loops in FM
« on: 18 Nov 2012 10:27:11 am »
I have mulitple stars, say 5 facts and few common dimensions between those facts. How do i identify if there are loops in there?   At a generic level what thats the strategy to identify loops

Offline tjohnson3050

  • IBM Certified Solution Expert - Cognos BI
  • Statesman
  • ******
  • Join Date: Dec 2011
  • Posts: 370
  • Forum Citizenship: +64/-0
  • The only dumb question is the one never asked.
    • Linked In Profile
Re: Loops in FM
« Reply #1 on: 18 Nov 2012 09:37:57 pm »
What do you mean by loops?

With multiple star schema's, you just need to define the relationships between the facts and dimensions only.  At query run time, separate queries will be generated for each star, then the queries for each star will be stitched together based on shared dimensions.

More information on Query Stitching:

http://www.ibm.com/developerworks/data/library/cognos/reporting/advanced_report_design/page605-pdf.pdf
« Last Edit: 18 Nov 2012 09:41:58 pm by tjohnson3050 »

Offline cognos4321

  • Community Leader
  • *****
  • Join Date: Sep 2013
  • Posts: 114
  • Forum Citizenship: +0/-0
Re: Loops in FM
« Reply #2 on: 30 Jan 2016 02:16:50 pm »
Hi experts,

I understand the concept of Stitch Query that when 2 facts are joined using a conformed dimension and cognos performs a full outer join to avoid any missing data.

Strategy to avoid Loops
If the join is between A-B-C tables then an alias table should be created and then join will be as follows
A-B
B-C
A-C2

I still don't get an answer to the original question asked here "At a generic level what's the strategy to identify loops" after creating a model. What kind of result would make me suspect a loop??

I read a lot of posts here to avoid double posting as per the norms of the forum.

Please guide.
Many Thanks Always

Offline MFGF

  • Never knowingly correct
  • Super Moderator
  • Statesman
  • ******
  • Join Date: Jul 2005
  • Posts: 11,635
  • Forum Citizenship: +676/-10
  • Cognos Software Muppet
Re: Loops in FM
« Reply #3 on: 31 Jan 2016 09:28:05 am »
Hi experts,

I understand the concept of Stitch Query that when 2 facts are joined using a conformed dimension and cognos performs a full outer join to avoid any missing data.

Strategy to avoid Loops
If the join is between A-B-C tables then an alias table should be created and then join will be as follows
A-B
B-C
A-C2

I still don't get an answer to the original question asked here "At a generic level what's the strategy to identify loops" after creating a model. What kind of result would make me suspect a loop??

I read a lot of posts here to avoid double posting as per the norms of the forum.

Please guide.
Many Thanks Always

The simple answer is to run Model Advisor - it will tell you about all sorts of modelling issues and traps, including multiple relationship paths.

MF.
Meep!