<?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 Merge 2 tables into one in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Merge-2-tables-into-one/m-p/229162#M81115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note that there is a relation between the two tables. Both are linked to an ItemCode.&lt;/P&gt;&lt;P&gt;If I select an ItemCode I get either PC/Marine in the one table &amp;amp; Third Party/Group in the other table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jul 2010 14:50:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-21T14:50:44Z</dc:date>
    <item>
      <title>Merge 2 tables into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-2-tables-into-one/m-p/229160#M81113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;I have 2 tables. On has got the following fields: Third Party, Group.&lt;/P&gt;&lt;P&gt;The other has got the following fields: Marine, PC&lt;/P&gt;&lt;P&gt;How do I get to merge these two tables so that it displays for example: Third Party Marine or Group PC.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 14:08:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-2-tables-into-one/m-p/229160#M81113</guid>
      <dc:creator />
      <dc:date>2010-07-21T14:08:39Z</dc:date>
    </item>
    <item>
      <title>Merge 2 tables into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-2-tables-into-one/m-p/229161#M81114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on your post, it isn't clear if there is any relation between these two tables.. it doesn't sound like there is, though. You can force the two to be joined by adding a JOIN keyword between the two LOADs - but this will result in a cartesian join, which may not be what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 14:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-2-tables-into-one/m-p/229161#M81114</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2010-07-21T14:42:52Z</dc:date>
    </item>
    <item>
      <title>Merge 2 tables into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-2-tables-into-one/m-p/229162#M81115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note that there is a relation between the two tables. Both are linked to an ItemCode.&lt;/P&gt;&lt;P&gt;If I select an ItemCode I get either PC/Marine in the one table &amp;amp; Third Party/Group in the other table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 14:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-2-tables-into-one/m-p/229162#M81115</guid>
      <dc:creator />
      <dc:date>2010-07-21T14:50:44Z</dc:date>
    </item>
    <item>
      <title>Merge 2 tables into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-2-tables-into-one/m-p/229163#M81116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You then need to join the two tables over the ItemCode field (which could be seen as the primary key in this case). Pay attention to the relationship between the three tables or you will end up with a Cartesian product. You should have a relationship that is one-to-many-to-one between the three tables (with the ItemCode field linking the two other tables together). So it could be something like:&lt;/P&gt;&lt;P&gt;Load PC, Marine, ItemCode From table1;&lt;BR /&gt;JOIN&lt;BR /&gt;Load ItemCode From table2;&lt;BR /&gt;JOIN&lt;BR /&gt;Load ItemCode, Third Party, Group From table3;&lt;/P&gt;&lt;P&gt;Depending on the result you want you might need to do LEFT/RIGHT joins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 15:03:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-2-tables-into-one/m-p/229163#M81116</guid>
      <dc:creator>Bjorn_Wedbratt</dc:creator>
      <dc:date>2010-07-21T15:03:54Z</dc:date>
    </item>
  </channel>
</rss>

