<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to avoid circular loops in  the Qlikvew Data model in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-loops-in-the-Qlikvew-Data-model/m-p/278824#M1186052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are multiple ways to remove circular reference in Qlikview data model.&lt;/P&gt;&lt;P&gt;1. Use data island in Qlikview if a specific table is joined with multiple table and creating loop. For example date table is joined with multiple fact tables and creating loop then date table can be kept as date island and in expressions of chart it can be used in if clause. This approach is good but should be used when there is no other approach works because as data grows the performance of application goes down as expression takes time to calculate values.&lt;/P&gt;&lt;P&gt;2. Create link table: In this approach we take out joining fields from multiple fact tables and put them in a link table which then joinied with other tables. you can get examples for it in below threads:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/197147#197147"&gt;http://community.qlik.com/message/197147#197147&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/198400#198400"&gt;http://community.qlik.com/message/198400#198400&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3. Merge two fact table into single table. By this way also we can eleminate loop. See the below thread:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/52363#52363"&gt;http://community.qlik.com/message/52363#52363&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help,&lt;/P&gt;&lt;P&gt;Anosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Mar 2012 14:32:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-07T14:32:24Z</dc:date>
    <item>
      <title>How to avoid circular loops in  the Qlikvew Data model</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-loops-in-the-Qlikvew-Data-model/m-p/278822#M1186050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can any one please let me know the different ways of avoiding Circular references in Qlikview...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awaiting for reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 15:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-loops-in-the-Qlikvew-Data-model/m-p/278822#M1186050</guid>
      <dc:creator />
      <dc:date>2011-09-21T15:06:05Z</dc:date>
    </item>
    <item>
      <title>How to avoid circular loops in  the Qlikvew Data model</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-loops-in-the-Qlikvew-Data-model/m-p/278823#M1186051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 ) build your data model by object and merge table by object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if you have&amp;nbsp; a shoes table and a tshirt table merge that in clothes table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) create specific keys between 2 tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;field 1&lt;/P&gt;&lt;P&gt;field 2&lt;/P&gt;&lt;P&gt;field 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE 2&lt;/P&gt;&lt;P&gt;field 2&lt;/P&gt;&lt;P&gt;field 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE 3&lt;/P&gt;&lt;P&gt;field 1&lt;/P&gt;&lt;P&gt;field 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE1&lt;/P&gt;&lt;P&gt;field 1&lt;/P&gt;&lt;P&gt;field 2&lt;/P&gt;&lt;P&gt;field 3&lt;/P&gt;&lt;P&gt;field2 &amp;amp; '-' &amp;amp; field3 as key2&lt;/P&gt;&lt;P&gt;field1 &amp;amp; '-' &amp;amp; field3&amp;nbsp; as key3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE2&lt;/P&gt;&lt;P&gt;field2 &amp;amp; '-' &amp;amp; field3 as key2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE3&lt;/P&gt;&lt;P&gt;field1 &amp;amp; '-' &amp;amp; field3 as key3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with that TABLE2 and TABLE3 will link with TABLE1 only. no loop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 16:02:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-loops-in-the-Qlikvew-Data-model/m-p/278823#M1186051</guid>
      <dc:creator />
      <dc:date>2011-09-21T16:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid circular loops in  the Qlikvew Data model</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-loops-in-the-Qlikvew-Data-model/m-p/278824#M1186052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are multiple ways to remove circular reference in Qlikview data model.&lt;/P&gt;&lt;P&gt;1. Use data island in Qlikview if a specific table is joined with multiple table and creating loop. For example date table is joined with multiple fact tables and creating loop then date table can be kept as date island and in expressions of chart it can be used in if clause. This approach is good but should be used when there is no other approach works because as data grows the performance of application goes down as expression takes time to calculate values.&lt;/P&gt;&lt;P&gt;2. Create link table: In this approach we take out joining fields from multiple fact tables and put them in a link table which then joinied with other tables. you can get examples for it in below threads:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/197147#197147"&gt;http://community.qlik.com/message/197147#197147&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/198400#198400"&gt;http://community.qlik.com/message/198400#198400&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3. Merge two fact table into single table. By this way also we can eleminate loop. See the below thread:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/52363#52363"&gt;http://community.qlik.com/message/52363#52363&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help,&lt;/P&gt;&lt;P&gt;Anosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 14:32:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-circular-loops-in-the-Qlikvew-Data-model/m-p/278824#M1186052</guid>
      <dc:creator />
      <dc:date>2012-03-07T14:32:24Z</dc:date>
    </item>
  </channel>
</rss>

