<?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: ApplyMap doesn't use default mapping in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ApplyMap-doesn-t-use-default-mapping/m-p/1591871#M737547</link>
    <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;EM&gt;but if the value isn't in my mapping table, T1 should map on...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I think you may be misunderstanding the third parameter of ApplyMap(). It is simply a value that is returned if there is no match in the mapping table. To map a different value, you could use this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ApplyMap('T1', LANDISO &amp;amp; BLTSPRISO &amp;amp; BLTGS1, 
    ApplyMap('T1', 'AT' &amp;amp; 'DEAT' &amp;amp; BLTGS1, 'No Match')) as TextG1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2019 05:24:52 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2019-06-14T05:24:52Z</dc:date>
    <item>
      <title>ApplyMap doesn't use default mapping</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-doesn-t-use-default-mapping/m-p/1591723#M737544</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;My ApplyMap which looks like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;ApplyMap('T1',LANDISO &amp;amp; BLTSPRISO &amp;amp; BLTGS1,'AT' &amp;amp; 'DEAT' &amp;amp; BLTGS1) as TextG1&lt;/P&gt;&lt;P&gt;doesn't work as expected.&lt;/P&gt;&lt;P&gt;For values where LANDISO and BLTSPRISO and BLTGS1 are in my Mapping table it works fine but if the value isn't in my mapping table, T1 should map on&amp;nbsp;&amp;nbsp;'AT' &amp;amp; 'DEAT' &amp;amp; BLTGS1 which doesn't work..&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, Gf&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-doesn-t-use-default-mapping/m-p/1591723#M737544</guid>
      <dc:creator>gf</dc:creator>
      <dc:date>2024-11-16T20:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap doesn't use default mapping</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-doesn-t-use-default-mapping/m-p/1591847#M737545</link>
      <description>Can you show your script ?</description>
      <pubDate>Fri, 14 Jun 2019 00:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-doesn-t-use-default-mapping/m-p/1591847#M737545</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2019-06-14T00:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap doesn't use default mapping</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-doesn-t-use-default-mapping/m-p/1591870#M737546</link>
      <description>Hi, BLTGSI hope it is a field.... So if none maps in your situations then it goes to this expression,&lt;BR /&gt;" 'AT' &amp;amp; 'DEAT' &amp;amp; BLTGS1 ". But here if you look at it, it doesn't know internally which value of it to concatenate. For example , BLTGS1 contains A1,B2,B4,Y6 then from your expression point of view,&lt;BR /&gt;ATDEAT___ which value should be replaced. So try giving any other alternative.&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jun 2019 05:10:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-doesn-t-use-default-mapping/m-p/1591870#M737546</guid>
      <dc:creator>Nishanthi</dc:creator>
      <dc:date>2019-06-14T05:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap doesn't use default mapping</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-doesn-t-use-default-mapping/m-p/1591871#M737547</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;EM&gt;but if the value isn't in my mapping table, T1 should map on...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I think you may be misunderstanding the third parameter of ApplyMap(). It is simply a value that is returned if there is no match in the mapping table. To map a different value, you could use this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ApplyMap('T1', LANDISO &amp;amp; BLTSPRISO &amp;amp; BLTGS1, 
    ApplyMap('T1', 'AT' &amp;amp; 'DEAT' &amp;amp; BLTGS1, 'No Match')) as TextG1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 05:24:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-doesn-t-use-default-mapping/m-p/1591871#M737547</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-06-14T05:24:52Z</dc:date>
    </item>
  </channel>
</rss>

