<?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: Fact tables to avoid loops and synthetic keys in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fact-tables-to-avoid-loops-and-synthetic-keys/m-p/795572#M281068</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;Use composite keys here in your data model there are many fields are same in the tables and that is the reason you get many synthetic keys and the synthetic tables also in the data model. Do work on the remove the synthetic keys to rename them or create the composite keys from they and join them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Description as Desc,* From Main;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load LocationID&amp;amp;_&amp;amp;ProductID as Key, ProductID as ProdID,* Record;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2015 08:02:28 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2015-01-30T08:02:28Z</dc:date>
    <item>
      <title>Fact tables to avoid loops and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Fact-tables-to-avoid-loops-and-synthetic-keys/m-p/795570#M281066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Script1.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/76679_Script1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Script2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/76680_Script2.png" style="height: auto;" /&gt;&lt;IMG alt="table.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/76681_table.png" style="height: 496px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14pt;"&gt;------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14pt;"&gt;Like this Output I should Get please help me.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;&lt;IMG alt="original.png" class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/76682_original.png" style="height: auto;" /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 07:42:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fact-tables-to-avoid-loops-and-synthetic-keys/m-p/795570#M281066</guid>
      <dc:creator />
      <dc:date>2015-01-30T07:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Fact tables to avoid loops and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Fact-tables-to-avoid-loops-and-synthetic-keys/m-p/795571#M281067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could do ... (I give the idea, convert in correct syntax)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * resident main&lt;/P&gt;&lt;P&gt;ledt join&lt;/P&gt;&lt;P&gt;load * resident product Group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you could join the 2 table records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oad * resident record&lt;/P&gt;&lt;P&gt;join&lt;/P&gt;&lt;P&gt;load * resident record-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what has happened now?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 07:50:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fact-tables-to-avoid-loops-and-synthetic-keys/m-p/795571#M281067</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-01-30T07:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Fact tables to avoid loops and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Fact-tables-to-avoid-loops-and-synthetic-keys/m-p/795572#M281068</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;Use composite keys here in your data model there are many fields are same in the tables and that is the reason you get many synthetic keys and the synthetic tables also in the data model. Do work on the remove the synthetic keys to rename them or create the composite keys from they and join them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Description as Desc,* From Main;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load LocationID&amp;amp;_&amp;amp;ProductID as Key, ProductID as ProdID,* Record;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 08:02:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fact-tables-to-avoid-loops-and-synthetic-keys/m-p/795572#M281068</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2015-01-30T08:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fact tables to avoid loops and synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Fact-tables-to-avoid-loops-and-synthetic-keys/m-p/795573#M281069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="assign.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/76683_assign.png" style="height: 496px; width: 620px;" /&gt;&lt;IMG alt="location.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/76684_location.png" style="height: 496px; width: 620px;" /&gt;&lt;IMG alt="opening hours.png" class="jive-image image-3" src="/legacyfs/online/76685_opening hours.png" style="height: 496px; width: 620px;" /&gt;&lt;IMG alt="product.png" class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/76686_product.png" style="height: 496px; width: 620px;" /&gt;&lt;IMG alt="Productgroups.png" class="jive-image image-5" src="https://community.qlik.com/legacyfs/online/76687_Productgroups.png" style="height: 496px; width: 620px;" /&gt;&lt;IMG alt="sales.png" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/76688_sales.png" style="height: 496px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Hi hello&lt;/P&gt;&lt;P&gt;My Actual DATA which is shown Above is like this .From this i want the output like this &lt;/P&gt;&lt;P&gt;&lt;IMG alt="original.png" class="jive-image image-7" src="https://community.qlik.com/legacyfs/online/76689_original.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Please help me this&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 08:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fact-tables-to-avoid-loops-and-synthetic-keys/m-p/795573#M281069</guid>
      <dc:creator />
      <dc:date>2015-01-30T08:10:51Z</dc:date>
    </item>
  </channel>
</rss>

