<?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: Loop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loop/m-p/325186#M119796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;One solution is to create just one fact table. You can add a type to be able to distinguish between the different sources involved (Orders and Sales in your case).&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Fact:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Load 'Sales' As FactType,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReportingDate,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerNumber,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;From Sales;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Concatenate (Fact)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Load 'Orders' As FactType,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReportingDate,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerNumber,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;From Orders;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;hth/gg&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Sep 2011 06:30:49 GMT</pubDate>
    <dc:creator>gandalfgray</dc:creator>
    <dc:date>2011-09-06T06:30:49Z</dc:date>
    <item>
      <title>Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Loop/m-p/325184#M119794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="untitled.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/7030_untitled.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two fact tbles in my model - Slaes and Orders as shown in the figure above. Since the dimension tables join to the fact tables on same ids, qlikView will join the two fact tables as the columns will be same. To resolve this, I aliased the columns in the Orders table to xomehting like OrdColumn name and added an extra column in the dimesnion tables and aliased them accordingly. But am enountering loops error here.Any thoughts on this? &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>Tue, 06 Sep 2011 02:02:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop/m-p/325184#M119794</guid>
      <dc:creator />
      <dc:date>2011-09-06T02:02:28Z</dc:date>
    </item>
    <item>
      <title>Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Loop/m-p/325185#M119795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Concatenate your fact tables to avoid loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact1:&lt;/P&gt;&lt;P&gt;Load * from fact1.qvd;&lt;/P&gt;&lt;P&gt;Concatenate(Fact1)&lt;/P&gt;&lt;P&gt;Load * from fact2.qvd;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 05:37:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop/m-p/325185#M119795</guid>
      <dc:creator />
      <dc:date>2011-09-06T05:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Loop/m-p/325186#M119796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;One solution is to create just one fact table. You can add a type to be able to distinguish between the different sources involved (Orders and Sales in your case).&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Fact:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Load 'Sales' As FactType,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReportingDate,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerNumber,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;From Sales;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Concatenate (Fact)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Load 'Orders' As FactType,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReportingDate,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerNumber,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;From Orders;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;hth/gg&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 06:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop/m-p/325186#M119796</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-09-06T06:30:49Z</dc:date>
    </item>
    <item>
      <title>Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Loop/m-p/325187#M119797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have measure in both the fact tables with same name. SO when doing analyis, I'll have to always set this filter, correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 07:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop/m-p/325187#M119797</guid>
      <dc:creator />
      <dc:date>2011-09-06T07:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Loop/m-p/325188#M119798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you need to have filter for analysis. Alternativly you can change name of the second fact.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 07:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop/m-p/325188#M119798</guid>
      <dc:creator />
      <dc:date>2011-09-06T07:05:52Z</dc:date>
    </item>
    <item>
      <title>Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Loop/m-p/325189#M119799</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;Either that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can keep the measures in separate fields, like: &lt;STRONG&gt;sales_amount, orders_amount&lt;/STRONG&gt; etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/gg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 07:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop/m-p/325189#M119799</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-09-06T07:06:01Z</dc:date>
    </item>
  </channel>
</rss>

