<?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 Left Join Multiple Conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Left-Join-Multiple-Conditions/m-p/315023#M116217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked perfectly, thanks a lot Michael!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2012 22:15:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-23T22:15:14Z</dc:date>
    <item>
      <title>Left Join Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Multiple-Conditions/m-p/315021#M116215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables and need to make a left join to add a column from one table to another. The join needs to be made based on two conditions, which are that the Site Id and IP Country match each other in both tables. I've searched the form and cannot find a way to do this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1 (Conversions) includes the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;Conversions:&lt;/EM&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;[Site Id]&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;[Country IP]&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;[Conversion Rate]&lt;/P&gt;&lt;P class="p3"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p2"&gt;[Conversion Test.xlsx]&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;(&lt;/SPAN&gt;ooxml&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;embedded&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;labels&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;table&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;is&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;[Informe 1]&lt;SPAN class="s2"&gt;)&lt;/SPAN&gt;; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2 (Subscriptions) to which I need to join [Conversion Rate] includes the following:&lt;/P&gt;&lt;P class="p1"&gt;&lt;EM&gt;Subscriptions:&lt;/EM&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;[IP Country]&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;[Billing Country]&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;Language&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;Currency&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;Day&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;Month&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;Hour&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;Week&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;[Site ID]&lt;/P&gt;&lt;P class="p3"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p2"&gt;[Subscription Data.xlsx]&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s2"&gt;(&lt;/SPAN&gt;ooxml&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;embedded&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;labels&lt;SPAN class="s2"&gt;, &lt;/SPAN&gt;table&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;is&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;Sheet1&lt;SPAN class="s2"&gt;)&lt;/SPAN&gt;; &lt;/P&gt;&lt;P class="p2"&gt;&lt;/P&gt;&lt;P class="p2"&gt;I need to join [Conversion Rate] to the subscriptions table where [Country IP] is equal to [IP Country] and [Site Id] is equal to [Site ID]. Any insight into how to do this will be greatly appreciated. I've attached an example as well.&lt;/P&gt;&lt;P class="p2"&gt;&lt;/P&gt;&lt;P class="p2"&gt;Best,&lt;/P&gt;&lt;P class="p2"&gt;&lt;/P&gt;&lt;P class="p2"&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 21:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Multiple-Conditions/m-p/315021#M116215</guid>
      <dc:creator />
      <dc:date>2012-02-23T21:42:50Z</dc:date>
    </item>
    <item>
      <title>Left Join Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Multiple-Conditions/m-p/315022#M116216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Left Join will automatically join based on any and all common field names b/w the two tables.&lt;/P&gt;&lt;P&gt;For your example, in Subscriptions change your load to be:&lt;/P&gt;&lt;P&gt;LEFT JOIN (Conversions) LOAD&lt;/P&gt;&lt;P&gt; [IP Country] as [County IP],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Site ID] as [Site Id],&lt;/P&gt;&lt;P&gt; :,&lt;/P&gt;&lt;P&gt; :,&lt;/P&gt;&lt;P&gt;FROM Subs....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will join the two tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 21:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Multiple-Conditions/m-p/315022#M116216</guid>
      <dc:creator>michael_anthony</dc:creator>
      <dc:date>2012-02-23T21:48:18Z</dc:date>
    </item>
    <item>
      <title>Left Join Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Left-Join-Multiple-Conditions/m-p/315023#M116217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked perfectly, thanks a lot Michael!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 22:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Left-Join-Multiple-Conditions/m-p/315023#M116217</guid>
      <dc:creator />
      <dc:date>2012-02-23T22:15:14Z</dc:date>
    </item>
  </channel>
</rss>

