<?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: Apply map() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Apply-map/m-p/43233#M7273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's the other way around, in the MAPPING table always put first the value to be looked up, in this case, Itemcode, and the second, the value you want to have returned, in this case, Itemfamilycode. If there is no match, then the original Itemcode will be displayed. To avoid it, you can use a third parameter in ApplyMap()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ApplyMap('Tab1', Itemcode, 'N/A') AS Itemfamilycode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Itemcode does not have a match in Tab1, the field will store "N/A" instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2018 13:46:19 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2018-06-01T13:46:19Z</dc:date>
    <item>
      <title>Apply map()</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-map/m-p/43232#M7272</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'm having two tables&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;Itemfamilycode&lt;/P&gt;&lt;P&gt;,Itemcode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab2:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Itemcode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;,sale&lt;/P&gt;&lt;P&gt;,date&lt;/P&gt;&lt;P&gt;,branch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to get itemfamilycode into tab2&lt;/P&gt;&lt;P&gt;so using applymap() like below syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Tab1:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Mapping Load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Itemfamilycode&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;,Itemcode&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Tab2:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Itemcode&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;,applymap('&lt;SPAN style="font-size: 13.3333px;"&gt;Tab1&lt;/SPAN&gt;',&lt;SPAN style="font-size: 13.3333px;"&gt;Itemcode&lt;/SPAN&gt;) as &lt;SPAN style="font-size: 13.3333px;"&gt;Itemfamilycode&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;,sale&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;,date&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;,branch&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;But Itemcode able to get in place of &lt;SPAN style="font-size: 13.3333px;"&gt;Itemfamilycode&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;any help in getting &lt;SPAN style="font-size: 13.3333px;"&gt;Itemfamilycode into tab2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Kakani.&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 13:37:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-map/m-p/43232#M7272</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2018-06-01T13:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Apply map()</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-map/m-p/43233#M7273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's the other way around, in the MAPPING table always put first the value to be looked up, in this case, Itemcode, and the second, the value you want to have returned, in this case, Itemfamilycode. If there is no match, then the original Itemcode will be displayed. To avoid it, you can use a third parameter in ApplyMap()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ApplyMap('Tab1', Itemcode, 'N/A') AS Itemfamilycode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Itemcode does not have a match in Tab1, the field will store "N/A" instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 13:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-map/m-p/43233#M7273</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-06-01T13:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Apply map()</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-map/m-p/43234#M7274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the mistake I'm doing is putting lookup field in the send row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for correcting me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 14:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-map/m-p/43234#M7274</guid>
      <dc:creator>kakani87</dc:creator>
      <dc:date>2018-06-01T14:27:05Z</dc:date>
    </item>
  </channel>
</rss>

