<?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: Merging Tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Merging-Tables/m-p/466677#M174376</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;If you want&amp;nbsp; merging tables by using concatenate function make sure most of the field names should be the same between the tables and the another by using join make sure at least one key should be the same with values in both tables else it will take cartesian join.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default Qlikview will treat join as outer join if you want to avoid duplicates you can use either left or right join..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Dec 2012 02:29:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-27T02:29:01Z</dc:date>
    <item>
      <title>Merging Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-Tables/m-p/466675#M174374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best way to merge two tables while loading? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table X with some data by project, and table Y with one data by project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested "Concatenate", but it wasn't what I was expecting; also with "Join" and something went weired: the value of &lt;STRONG&gt;one &lt;/STRONG&gt;key item is doubled when I use Join. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm doing something wrong? Is there any other way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2012 18:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-Tables/m-p/466675#M174374</guid>
      <dc:creator />
      <dc:date>2012-12-26T18:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-Tables/m-p/466676#M174375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If both the tables have same number of fields with the same fieldnames, concatenating them will work without any problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, there are differences in the columns between the the two tables. In such cases, the following method has worked for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us assume that Common1 and Common2 are the fields common in both tables (Table1 and Table2). If Table1 has the fields Data1a and Data1b which are not in Table2, and Table2 has fields Data2a and Data2b which are not in Table1, the following script will merge the two tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MergedTable:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Common1, Common2, Data1a, Data1b, Data2a, Data2b&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Concatenate Load Common1, Common2, Data1a, Data1b from Table1;&lt;/P&gt;&lt;P&gt;Concatenate Load Common1, Common2, Data2a, Data2b from Table2;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2012 21:19:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-Tables/m-p/466676#M174375</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2012-12-26T21:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Merging-Tables/m-p/466677#M174376</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;If you want&amp;nbsp; merging tables by using concatenate function make sure most of the field names should be the same between the tables and the another by using join make sure at least one key should be the same with values in both tables else it will take cartesian join.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default Qlikview will treat join as outer join if you want to avoid duplicates you can use either left or right join..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 02:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merging-Tables/m-p/466677#M174376</guid>
      <dc:creator />
      <dc:date>2012-12-27T02:29:01Z</dc:date>
    </item>
  </channel>
</rss>

