<?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 loops? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480316#M179490</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;To avoid loops don't keep the same fields in more than one table. If you require all the fields then use with the different name or remove the fields. and also you can use qualify and unqualify before the fields in the&amp;nbsp; load statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Sep 2013 07:16:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-26T07:16:53Z</dc:date>
    <item>
      <title>How to avoid loops?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480307#M179481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Please help, what to do if this statement appears after reload? "One or more loops have been detected in your database structure." How can I fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 03:44:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480307#M179481</guid>
      <dc:creator />
      <dc:date>2013-09-26T03:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loops?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480308#M179482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That means your modelling has some circular references. You have to work on the model to remove that circular references.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 04:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480308#M179482</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-26T04:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loops?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480309#M179483</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;to avoid loops ,to change one table as loosely coupled &lt;/P&gt;&lt;P&gt;in document properties-tables-select loosely coupled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rename the fileds which is involved in the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have somany ways to avoid loop ,to check it in help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 05:05:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480309#M179483</guid>
      <dc:creator />
      <dc:date>2013-09-26T05:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loops?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480310#M179484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rename the unwanted field name in the table&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; customer as Customer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 05:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480310#M179484</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2013-09-26T05:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loops?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480311#M179485</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;This error is caused by how you design your data model in QlikView. Since the data model in QlikView is bi-directional you have to be careful not to create a data model that is circular. By circular I mean :&lt;/P&gt;&lt;P&gt;For Eg. say there are 3 tables Order, Product &amp;amp; Sales with following columns :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="138" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;Arial&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 770px; HEIGHT: 128px; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;ORDER&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;PRODUCT&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;SALES&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Order_id&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Product_id&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sales_id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Product_id&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sales_id&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Order_id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Sales_Amount&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cust_Name&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Voucher_no&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;City_Name&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Country&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Qty&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;State&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Ref&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Vehicle&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example, ORDER table is joined to PRODUCT table, PRODUCT tabe is joined to SALES table &amp;amp; SALES is again joined to ORDER table causing a loop. If you select a Product_id (from ORDER table), PRODUCT table will be filtered and then the SALES table will be filtered which in turn will filter the ORDER table again and so on. That is so called loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, you can try removing the extra links between the tables which are not required. In the example above, one way to avid loop is to remove the link between SALES &amp;amp; ORDER table by renaming the field Order_id in SALES table.&lt;/P&gt;&lt;P&gt;You can do that by:&lt;/P&gt;&lt;P&gt;1. Renaming the fields&lt;/P&gt;&lt;P&gt;2. Using Qualify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is always ideal/best practice to have just one key field per table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 06:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480311#M179485</guid>
      <dc:creator />
      <dc:date>2013-09-26T06:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loops?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480312#M179486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Loops are formed due to the circular references between the tables, you must be aware QlikView joins the tables based on common column names by default, to avoid any unintended joins you may try aliasing the fields which have same name between different tables. Go to tabular view (Ctrl+T) after reloading to check the joins and try to remove the unnecessary joins through aliasing.&lt;/P&gt;&lt;P&gt;If incase you see all the joins are necessary and required, you might need to avoid the circular references through creation of a link table, please fallow the below blog by &lt;SPAN style="color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif;"&gt;Stephen Redmond&lt;/SPAN&gt; with detailed information on how to create link tables:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qliktips.com/2011/05/rules-for-creating-keylink-table-in.html" title="http://www.qliktips.com/2011/05/rules-for-creating-keylink-table-in.html"&gt;Qlik Tips: Rules for creating a Key/Link Table in QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 06:33:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480312#M179486</guid>
      <dc:creator />
      <dc:date>2013-09-26T06:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loops?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480313#M179487</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;change your data model or change the name of the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Dragan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 06:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480313#M179487</guid>
      <dc:creator />
      <dc:date>2013-09-26T06:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loops?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480314#M179488</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;Loops can be avoided by using many methods like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenating Tables&lt;/P&gt;&lt;P&gt;Renaming Column names or Qualify&lt;/P&gt;&lt;P&gt;Link Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depends on the scenario which method to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 06:43:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480314#M179488</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-09-26T06:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loops?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480315#M179489</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;Loops or circular references detected when you have alternative paths between two tables. To resolve them&lt;/P&gt;&lt;P&gt;1.) Rename the Fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 06:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480315#M179489</guid>
      <dc:creator />
      <dc:date>2013-09-26T06:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loops?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480316#M179490</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;To avoid loops don't keep the same fields in more than one table. If you require all the fields then use with the different name or remove the fields. and also you can use qualify and unqualify before the fields in the&amp;nbsp; load statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 07:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480316#M179490</guid>
      <dc:creator />
      <dc:date>2013-09-26T07:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loops?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480317#M179491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the blog by &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;Henric Cronström&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/06/25/circular-references"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/06/25/circular-references&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 07:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480317#M179491</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-09-26T07:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loops?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480318#M179492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/06/25/circular-references" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/06/25/circular-references"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/06/25/circular-references&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 07:45:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480318#M179492</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2013-09-26T07:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loops?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480319#M179493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not walk in a circle but go straight on&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 12:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480319#M179493</guid>
      <dc:creator />
      <dc:date>2013-09-26T12:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid loops?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480320#M179494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It means your data model has circular references. Try removing the circular references by renaming the fields, using joins, concatenation or by aliasing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2018 12:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-loops/m-p/480320#M179494</guid>
      <dc:creator>simran04</dc:creator>
      <dc:date>2018-03-18T12:35:52Z</dc:date>
    </item>
  </channel>
</rss>

