<?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 Applymap instead of left join in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Applymap-instead-of-left-join/m-p/257782#M711302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe Applymap would apply the first one found in the mapping table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Aug 2011 17:04:44 GMT</pubDate>
    <dc:creator>danielrozental</dc:creator>
    <dc:date>2011-08-23T17:04:44Z</dc:date>
    <item>
      <title>Applymap instead of left join</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-instead-of-left-join/m-p/257778#M711294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two tables;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1:&amp;nbsp; Client_ID, Specialty, State, ...&amp;nbsp;&amp;nbsp;&amp;nbsp; (1.5 million rows)&lt;/P&gt;&lt;P&gt;Table 2: Client_ID, Corp_Specialty, Corp_State,......&amp;nbsp;&amp;nbsp; (2 million rows)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to replace Specialty and State from Table 1 with Corp_Specialty and Corp_State of table 2 for every matching Client_ID. I can do this using left join, but I want to use mapping load and Applymap. Can anyone help me with the syntax? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 23:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-instead-of-left-join/m-p/257778#M711294</guid>
      <dc:creator />
      <dc:date>2011-08-08T23:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap instead of left join</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-instead-of-left-join/m-p/257779#M711295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SpecialtyMap:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;MAPPING LOAD&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Client_ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,Corp_Specialty&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;RESIDENT Table2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;StateMap:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;MAPPING LOAD&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Client_ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,Corp_State&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;RESIDENT Table2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Table1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Client_ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,applymap('SpecialtyMap',Client_ID,Specialty) as Specialty&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,applymap('StateMap',Client_ID,State) as State&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 00:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-instead-of-left-join/m-p/257779#M711295</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-08-09T00:05:15Z</dc:date>
    </item>
    <item>
      <title>Applymap instead of left join</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-instead-of-left-join/m-p/257780#M711296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it behave any different if I've multiple instance of same Client_ID in Table1? For some reason in my case Specialty and State both gets values as Client_ID. So, if I do distinct of Specialty and State after the mapping I get Client_IDs and not the real values. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 21:09:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-instead-of-left-join/m-p/257780#M711296</guid>
      <dc:creator />
      <dc:date>2011-08-17T21:09:49Z</dc:date>
    </item>
    <item>
      <title>Applymap instead of left join</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-instead-of-left-join/m-p/257781#M711301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would anticipate trouble if Client_ID is not unique in table TWO.&amp;nbsp; In that case, QlikView wouldn't know which Corp_Speciality to map.&amp;nbsp; It might do something like apply the first one, or just return null, or who knows what.&amp;nbsp; But it shouldn't make any difference if Client_ID is not unique in table one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 16:56:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-instead-of-left-join/m-p/257781#M711301</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-08-23T16:56:19Z</dc:date>
    </item>
    <item>
      <title>Applymap instead of left join</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-instead-of-left-join/m-p/257782#M711302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe Applymap would apply the first one found in the mapping table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 17:04:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-instead-of-left-join/m-p/257782#M711302</guid>
      <dc:creator>danielrozental</dc:creator>
      <dc:date>2011-08-23T17:04:44Z</dc:date>
    </item>
  </channel>
</rss>

