<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620353#M228397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Apr 2014 12:24:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-25T12:24:43Z</dc:date>
    <item>
      <title>ApplyMap</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620345#M228389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Help me with ApplyMap, What is it ? how can we use it ? and why to use it? demo app would be great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 11:24:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620345#M228389</guid>
      <dc:creator />
      <dc:date>2014-04-25T11:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620346#M228390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;ApplyMap&lt;/SPAN&gt; function is used for mapping any expression to a previously loaded mapping table. The syntax is:&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor833"&gt;&lt;/A&gt;&lt;A name="applymap"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;applymap&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;'mapname', expr [ , defaultexpr ] &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;where:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;mapname&lt;/SPAN&gt; is the name of a mapping table that has previously been created through the &lt;SPAN class="Bold"&gt;mapping load&lt;/SPAN&gt; or the &lt;SPAN class="Bold"&gt;mapping select&lt;/SPAN&gt; statement (see &lt;A class="MCXref_0" href="https://community.qlik.com/"&gt;&lt;EM&gt;Mapping&lt;/EM&gt;&lt;/A&gt;). Its name must be enclosed by single, straight &lt;A class="MCXref_0" href="https://community.qlik.com/"&gt;&lt;EM&gt;Quotation Marks in Scripting&lt;/EM&gt;&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;expr&lt;/SPAN&gt; is the expression, the result of which should be mapped. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;defaultexpr&lt;/SPAN&gt; is an optional expression which will be used as a default mapping value if the mapping table does not contain a matching value for &lt;SPAN class="Italic"&gt;expr&lt;/SPAN&gt;. If no default value is given, the value of &lt;SPAN class="Italic"&gt;expr&lt;/SPAN&gt; will be returned as is. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;// Assume the following mapping table: &lt;/P&gt;&lt;P class="Code"&gt;map1: &lt;/P&gt;&lt;P class="Code"&gt;mapping load * inline [ &lt;/P&gt;&lt;P class="Code"&gt;x, y &lt;/P&gt;&lt;P class="Code"&gt;1, one &lt;/P&gt;&lt;P class="Code"&gt;2, two &lt;/P&gt;&lt;P class="Code"&gt;3, three ] ; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;ApplyMap&lt;/SPAN&gt; ('map1', 2 )&lt;/SPAN&gt; returns ' two'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;ApplyMap&lt;/SPAN&gt; ('map1', 4 )&lt;/SPAN&gt; returns 4&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;ApplyMap&lt;/SPAN&gt; ('map1', 5, 'xxx')&lt;/SPAN&gt; returns 'xxx'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;ApplyMap&lt;/SPAN&gt; ('map1', 1, 'xxx')&lt;/SPAN&gt; returns 'one'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;ApplyMap&lt;/SPAN&gt; ('map1', 5, null( ) )&lt;/SPAN&gt; returns NULL&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;ApplyMap&lt;/SPAN&gt; ('map1', 3, null( ) )&lt;/SPAN&gt; returns 'three'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 11:25:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620346#M228390</guid>
      <dc:creator />
      <dc:date>2014-04-25T11:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620347#M228391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks felim ,but i am not getting actual use of it ,possibly provide with more example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 11:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620347#M228391</guid>
      <dc:creator />
      <dc:date>2014-04-25T11:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620348#M228392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.quickintelligence.co.uk/applymap-is-it-so-wrong/" title="http://www.quickintelligence.co.uk/applymap-is-it-so-wrong/"&gt;http://www.quickintelligence.co.uk/applymap-is-it-so-wrong/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 11:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620348#M228392</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-04-25T11:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620349#M228393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read this blog post: &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/09/18/one-favorite-function-applymap" title="http://community.qlik.com/blogs/qlikviewdesignblog/2012/09/18/one-favorite-function-applymap"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2012/09/18/one-favorite-function-applymap&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 12:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620349#M228393</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-04-25T12:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re: ApplyMap</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620350#M228394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please take a look at the example attached and please refer to the comments added in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 12:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620350#M228394</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-04-25T12:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620351#M228395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mapping load works like a function/method in progrmming, first column acts as "input parameter" while second column acts as "return value". In below mapping load "x" acts as "input parameter" while "y" acts as "return value". if input value (x ) not found in table it returns same or third parameter of ApplyMap. ApplyMap is used to call mapping load and its syntax is &lt;STRONG&gt;applymap('mapname', expr&amp;nbsp; [,&amp;nbsp; defaultexpr ] ). &lt;/STRONG&gt;After reload mapping load is not the part of data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;map1: &lt;/P&gt;&lt;P class="Code"&gt;mapping &lt;A href="#" style="margin: 0px !important; padding: 0px !important; text-decoration: underline !important;" title="Click to Continue &amp;gt; by Discount Buddy"&gt;load&lt;IMG class="jiveImage" height="10" src="http://discountbu-a.akamaihd.net/items/it/img/arrow-10x10.png" style="margin: 0px 0px 0px 3px !important; padding: 0px !important; border: currentColor !important;" width="10" /&gt;&lt;/A&gt; * inline [ &lt;/P&gt;&lt;P class="Code"&gt;x, y &lt;/P&gt;&lt;P class="Code"&gt;1, one &lt;/P&gt;&lt;P class="Code"&gt;2, two &lt;/P&gt;&lt;P class="Code"&gt;3, three ] ; &lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;ApplyMap ('map1', 2 ) returns ' two'&lt;/P&gt;&lt;P&gt;ApplyMap ('map1', 4 ) returns 4&lt;/P&gt;&lt;P&gt;ApplyMap ('map1', 5, 0 ) returns 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 12:11:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620351#M228395</guid>
      <dc:creator />
      <dc:date>2014-04-25T12:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Re: ApplyMap</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620352#M228396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sudeep i coudnt find the attached file &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 12:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620352#M228396</guid>
      <dc:creator />
      <dc:date>2014-04-25T12:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620353#M228397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 12:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620353#M228397</guid>
      <dc:creator />
      <dc:date>2014-04-25T12:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: ApplyMap</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620354#M228398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attaching it again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 12:33:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap/m-p/620354#M228398</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-04-25T12:33:07Z</dc:date>
    </item>
  </channel>
</rss>

