<?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 Best approach for combining tables with multiple common fields. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Best-approach-for-combining-tables-with-multiple-common-fields/m-p/192703#M54263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case, it looks like you really want to just end up with:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Table: period, cost centre, product, measure1, measure2, measure3, measure4, measure5, measure6&lt;/P&gt;&lt;P&gt;I think that's what would result if you just left join them in sequence:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;&lt;TABLE&gt;:&lt;BR /&gt; LOAD * FROM your source for Table1;&lt;BR /&gt;LEFT JOIN LOAD * FROM your source for Table2;&lt;BR /&gt;LEFT JOIN LOAD * FROM your source for Table3;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Oops, yeah, Oleg's right. Left join is bad. Outer join would probably do the trick, and concatenate is another option.&lt;/P&gt;&lt;/TABLE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Mar 2010 21:14:28 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-03-24T21:14:28Z</dc:date>
    <item>
      <title>Best approach for combining tables with multiple common fields.</title>
      <link>https://community.qlik.com/t5/QlikView/Best-approach-for-combining-tables-with-multiple-common-fields/m-p/192702#M54262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the best approach for using tables with multiple fields that are the same?&lt;/P&gt;&lt;P&gt;For eample I have table1 that has the following fileds : period, cost centre, product, measure1, measure2&lt;/P&gt;&lt;P&gt;Table2 : period, cost centre, product, measure3, measure4&lt;/P&gt;&lt;P&gt;Table3 : period, cost centre, product, measure5, measure6&lt;/P&gt;&lt;P&gt;I am trying not to use synthetic keys, but will use them if that is the best approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Mar 2010 20:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-approach-for-combining-tables-with-multiple-common-fields/m-p/192702#M54262</guid>
      <dc:creator>alan_grn</dc:creator>
      <dc:date>2010-03-24T20:56:27Z</dc:date>
    </item>
    <item>
      <title>Best approach for combining tables with multiple common fields.</title>
      <link>https://community.qlik.com/t5/QlikView/Best-approach-for-combining-tables-with-multiple-common-fields/m-p/192703#M54263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case, it looks like you really want to just end up with:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Table: period, cost centre, product, measure1, measure2, measure3, measure4, measure5, measure6&lt;/P&gt;&lt;P&gt;I think that's what would result if you just left join them in sequence:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;&lt;TABLE&gt;:&lt;BR /&gt; LOAD * FROM your source for Table1;&lt;BR /&gt;LEFT JOIN LOAD * FROM your source for Table2;&lt;BR /&gt;LEFT JOIN LOAD * FROM your source for Table3;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Oops, yeah, Oleg's right. Left join is bad. Outer join would probably do the trick, and concatenate is another option.&lt;/P&gt;&lt;/TABLE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Mar 2010 21:14:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-approach-for-combining-tables-with-multiple-common-fields/m-p/192703#M54263</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-03-24T21:14:28Z</dc:date>
    </item>
    <item>
      <title>Best approach for combining tables with multiple common fields.</title>
      <link>https://community.qlik.com/t5/QlikView/Best-approach-for-combining-tables-with-multiple-common-fields/m-p/192704#M54264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you would like to append the data (similar to SQL term "UNION ALL"), you can force concatenation of the data into the same table by using prefix CONCATENATE.&lt;/P&gt;&lt;P&gt;If you'd rather want to join the tables by matching identical keys (period, cost centre, product), then you could join the tables. Left Join might cause some data to be avoided. I'd rather recommend using OUTER join, to keep all your Measures.&lt;/P&gt;&lt;P&gt;I have a feeling that CONCATENATE might work better for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 03:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-approach-for-combining-tables-with-multiple-common-fields/m-p/192704#M54264</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-03-25T03:08:16Z</dc:date>
    </item>
  </channel>
</rss>

