<?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 And mapping update Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Applymap-And-mapping-update-Question/m-p/1055171#M932582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map_Name:&lt;/P&gt;&lt;P&gt;Mapping&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;ID, Name&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, ABC&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2,XYZ&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab:&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;Field1,&lt;/P&gt;&lt;P&gt;Field2,&lt;/P&gt;&lt;P&gt;Applymap('Map_Name',ID,ID) as proname&lt;/P&gt;&lt;P&gt;FROM Tab;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here it will return Name if ID Exist in Mapping Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose If i pass ID as 3 Which i dont have the Mapping Table, what it will return??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out this issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prathap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2016 05:46:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-01T05:46:28Z</dc:date>
    <item>
      <title>Applymap And mapping update Question</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-And-mapping-update-Question/m-p/1055171#M932582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map_Name:&lt;/P&gt;&lt;P&gt;Mapping&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;ID, Name&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, ABC&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2,XYZ&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab:&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;Field1,&lt;/P&gt;&lt;P&gt;Field2,&lt;/P&gt;&lt;P&gt;Applymap('Map_Name',ID,ID) as proname&lt;/P&gt;&lt;P&gt;FROM Tab;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here it will return Name if ID Exist in Mapping Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose If i pass ID as 3 Which i dont have the Mapping Table, what it will return??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out this issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prathap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 05:46:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-And-mapping-update-Question/m-p/1055171#M932582</guid>
      <dc:creator />
      <dc:date>2016-03-01T05:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap And mapping update Question</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-And-mapping-update-Question/m-p/1055172#M932583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;When you pass ID as 3,your new field will be 3 like ID&lt;/P&gt;&lt;P&gt;Map_Name:&lt;/P&gt;&lt;P&gt;Mapping&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;ID, Name&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, ABC&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2,XYZ&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;Field1,&lt;/P&gt;&lt;P&gt;Field2,&lt;/P&gt;&lt;P&gt;Applymap('Map_Name',ID,ID) as proname&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;ID,Field1,Field2,&lt;/P&gt;&lt;P&gt;1, A,B&lt;/P&gt;&lt;P&gt;2,C,D&lt;/P&gt;&lt;P&gt;3,E,F&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116426_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 11:19:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-And-mapping-update-Question/m-p/1055172#M932583</guid>
      <dc:creator>t_chetirbok</dc:creator>
      <dc:date>2016-03-01T11:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap And mapping update Question</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-And-mapping-update-Question/m-p/1055173#M932584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The third parameter in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Applymap('Map_Name',ID,ID) is the value returned when it doesn't match with the mapping table. Normally we use 'Not available', 'NA' to indicate the missing value but it can be set as per the need.. Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 11:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-And-mapping-update-Question/m-p/1055173#M932584</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-03-01T11:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap And mapping update Question</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-And-mapping-update-Question/m-p/1055174#M932585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You do not need to add ID as a third parameter, applymap will use the source field by default if no match is found and the 3rd parameter is not present,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Applymap('Map_Name',ID) as proname,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Applymap('Map_Name',ID, 'Unknown') as proname2,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to see how to use the third parameter in applymap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 11:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-And-mapping-update-Question/m-p/1055174#M932585</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-03-01T11:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap And mapping update Question</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-And-mapping-update-Question/m-p/1055175#M932586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prathap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the applymap function if you don't find the matching ID then we have the option to specific what you need to show in such case&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Applymap('Map_Name',ID) as proname, &lt;STRONG&gt;if nothing is specified it will return the ID &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Applymap('Map_Name',ID,null()) as proname, if ID &lt;STRONG&gt;is missing in mapping table ,&lt;/STRONG&gt;&lt;STRONG&gt;this will give null &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Applymap('Map_Name',ID,'ID Missing') as proname, this will give a text as ID Missing &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 12:37:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-And-mapping-update-Question/m-p/1055175#M932586</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-01T12:37:05Z</dc:date>
    </item>
  </channel>
</rss>

