<?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: Joining tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/1125426#M634874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I did a LEFT &lt;STRONG&gt;KEEP&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 15:20:38 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-06-16T15:20:38Z</dc:date>
    <item>
      <title>Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/1125423#M634871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have three tables t1, t2 and t3 with keys k1, k1+k2 and k2 respectively. (Essentially, t2 connects t1 and t3) I need to filter the records from t2 which match the key values in t1 and then join the resultant to t3. Can any one suggest the proper join conditions? &lt;/P&gt;&lt;P&gt;If I use left join with t2 as the main table, I end up picking extra values from t1 and if I use t1 as the main table then there is no way for me to get data from t3. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/1125423#M634871</guid>
      <dc:creator />
      <dc:date>2016-06-15T21:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/1125424#M634872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really sure, so if this is not what you want, could you post few lines of input table records and your expected result table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t1:&lt;/P&gt;&lt;P&gt;LOAD k1 FROM t1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t2:&lt;/P&gt;&lt;P&gt;LEFT KEEP&lt;/P&gt;&lt;P&gt;LOAD k1,k2 FROM t2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN&lt;/P&gt;&lt;P&gt;LOAD k2 FROM t3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE t1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/1125424#M634872</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-15T21:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/1125425#M634873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I join t3 because there is no t2 once I left join it.I get error saying table not found. Do I join it to t1?&lt;/P&gt;&lt;P&gt;Also, my tables have other data as well and not just the keys! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 14:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/1125425#M634873</guid>
      <dc:creator />
      <dc:date>2016-06-16T14:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/1125426#M634874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I did a LEFT &lt;STRONG&gt;KEEP&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 15:20:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/1125426#M634874</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-16T15:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/1125427#M634875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aah.. I was under the impression that I have to specify the table name when I join the two tables. but even without specifying table names, Qlik automatically identifies association based on column names.&lt;/P&gt;&lt;P&gt;Thank you Swuehl! Keep is a Keeper &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&amp;nbsp; lol never understood the use of it till now.&lt;/P&gt;&lt;P&gt;I also found this helpful after reading your post.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/2.2/Subsystems/Hub/Content/Scripting/combine-tables-join-keep.htm" title="https://help.qlik.com/en-US/sense/2.2/Subsystems/Hub/Content/Scripting/combine-tables-join-keep.htm"&gt;https://help.qlik.com/en-US/sense/2.2/Subsystems/Hub/Content/Scripting/combine-tables-join-keep.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 15:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/1125427#M634875</guid>
      <dc:creator />
      <dc:date>2016-06-16T15:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/1125428#M634876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The JOIN / KEEP is performed to the table preceding the current LOAD statement in the script, if you don't sepcify a table name (which would be more safe, advisable).&lt;/P&gt;&lt;P&gt;It is not searching your data model for possible matching key fields, if that is what you are assuming.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 15:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/1125428#M634876</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-16T15:35:20Z</dc:date>
    </item>
  </channel>
</rss>

