<?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 Loop problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loop-problem/m-p/334470#M1177620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not 100% following what you're trying to do, but I think the solution you got to would be the way I would have resolved it.&amp;nbsp; I tend to aim for a simple snowflake schema, and this usually gives me the ability to summarise data any way I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Mar 2012 19:43:57 GMT</pubDate>
    <dc:creator>flipside</dc:creator>
    <dc:date>2012-03-04T19:43:57Z</dc:date>
    <item>
      <title>Loop problem</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-problem/m-p/334467#M1177617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone tell me what my problem is from the attached image? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting a "One or more loops have been detected....etc" message, but any ideas on how I fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="LoopQry.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/11845_LoopQry.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 20:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-problem/m-p/334467#M1177617</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2012-03-02T20:58:50Z</dc:date>
    </item>
    <item>
      <title>Loop problem</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-problem/m-p/334468#M1177618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlikview has made the association between the tables because you have fields with identical names in different tables.&amp;nbsp; This is standard behaviour for Qlikview and differs from most database systems where you have to make the joins yourself. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your example, the fields NLCode &amp;amp; NLDesc appear in both NL and SalesKey tables.&amp;nbsp; If these fields hold the same data, you can choose not to load those fields in one of the tables (either comment them out or delete them).&amp;nbsp; Reloading will remove the $Syn 1 Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another method is to rename the fields in your script so they are unique, such as ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SalesKey:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; LOAD NLCode as SK_NLcode, NLDesc as SK_NLDesc ....&lt;/P&gt;&lt;P&gt;this keeps the data in both tables but Qlikview won't try to join on these fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A second option is to QUALIFY the table in the load ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Qualify *;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Unqualify SalesItem;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SalesKey:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; LOAD SalesItem, NLCode, NLDesc ...&lt;/P&gt;&lt;P&gt;This puts the table name in front of each field (eg SalesKey.NLCode) except SalesItem because this is still needed as a link to other tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your other tables are similarly affected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 21:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-problem/m-p/334468#M1177618</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2012-03-02T21:50:49Z</dc:date>
    </item>
    <item>
      <title>Loop problem</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-problem/m-p/334469#M1177619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flipside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me expand on the nature of my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 tables with a common measure, but different dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to uniffy the tables by attaching a few common dimensions, so I can summarise the common measure by the new common dimensions. I thought I might be able to do this by creating a new table which took a dimension from each of the tables, and added the new commmon dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The loop resulted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I got around it by attaching the new dimensions to each table in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you could comment on the above, great. But thanks for your help thus far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2012 17:24:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-problem/m-p/334469#M1177619</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2012-03-04T17:24:08Z</dc:date>
    </item>
    <item>
      <title>Loop problem</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-problem/m-p/334470#M1177620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not 100% following what you're trying to do, but I think the solution you got to would be the way I would have resolved it.&amp;nbsp; I tend to aim for a simple snowflake schema, and this usually gives me the ability to summarise data any way I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2012 19:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-problem/m-p/334470#M1177620</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2012-03-04T19:43:57Z</dc:date>
    </item>
  </channel>
</rss>

