<?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 not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ApplyMap-not-working/m-p/660008#M1078873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't understand why the following map isn't working. The mapping table has the right data, and the destination table creates the correct field, but it has null values. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DisablityMap:&lt;/P&gt;&lt;P&gt;Mapping Load "adisabil_cde",&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;"adisabil_dsc"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM PUB."mis_adisabil";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disability: LOAD "per_num",&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;"adisabil_cde",&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;ApplyMap('DisabilityMap', adisabil_cde, 'NONE') as [Person Disability],&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;"aperdisabil_str_dat" as [Person Disability Start Date],&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;"aperdisabil_end_dat" as [Person Disability End Date],&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;"TimeStamp"&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;where "aperdisabil_end_dat" &amp;gt; $(vToday) or len ("aperdisabil_end_dat") = 0;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM PUB."mis_aperdisabil";&lt;/P&gt;&lt;P&gt;STORE Disability into 10_QVDFiles\Disability.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jul 2014 10:21:07 GMT</pubDate>
    <dc:creator>Karl_Hart</dc:creator>
    <dc:date>2014-07-11T10:21:07Z</dc:date>
    <item>
      <title>ApplyMap not working</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-not-working/m-p/660008#M1078873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't understand why the following map isn't working. The mapping table has the right data, and the destination table creates the correct field, but it has null values. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DisablityMap:&lt;/P&gt;&lt;P&gt;Mapping Load "adisabil_cde",&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;"adisabil_dsc"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM PUB."mis_adisabil";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disability: LOAD "per_num",&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;"adisabil_cde",&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;ApplyMap('DisabilityMap', adisabil_cde, 'NONE') as [Person Disability],&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;"aperdisabil_str_dat" as [Person Disability Start Date],&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;"aperdisabil_end_dat" as [Person Disability End Date],&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;"TimeStamp"&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;where "aperdisabil_end_dat" &amp;gt; $(vToday) or len ("aperdisabil_end_dat") = 0;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM PUB."mis_aperdisabil";&lt;/P&gt;&lt;P&gt;STORE Disability into 10_QVDFiles\Disability.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 10:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-not-working/m-p/660008#M1078873</guid>
      <dc:creator>Karl_Hart</dc:creator>
      <dc:date>2014-07-11T10:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap not working</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-not-working/m-p/660009#M1078874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;remove the double quotation marks around the field names&lt;/P&gt;&lt;P&gt;i think this is the only reason&lt;/P&gt;&lt;P&gt;make sure too that aperdisabil_end_dat"&amp;nbsp; and $(vToday) have the same format and I think you should use '$(vToday)'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 10:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-not-working/m-p/660009#M1078874</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2014-07-11T10:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap not working</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-not-working/m-p/660010#M1078875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps the field is not being recognized without quotes. Put proper quotes and try like:&lt;/P&gt;&lt;P&gt;ApplyMap('DisabilityMap', &lt;STRONG&gt;"adisabil_cde"&lt;/STRONG&gt;, 'NONE') as [Person Disability],&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 10:31:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-not-working/m-p/660010#M1078875</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-07-11T10:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap not working</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-not-working/m-p/660011#M1078876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the heads up about the $9vToday), I'll look into it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, changing the quotation marks around the field name didn't affect the outcome of my initial query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 10:55:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-not-working/m-p/660011#M1078876</guid>
      <dc:creator>Karl_Hart</dc:creator>
      <dc:date>2014-07-11T10:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap not working</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-not-working/m-p/660012#M1078877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion but it still gives the same result with the changes you suggested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 10:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-not-working/m-p/660012#M1078877</guid>
      <dc:creator>Karl_Hart</dc:creator>
      <dc:date>2014-07-11T10:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap not working</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-not-working/m-p/660013#M1078878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have a typo in the Mapping table name: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Disab&lt;STRONG&gt;lit&lt;/STRONG&gt;yMap. Should be &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DisabilityMap.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Greatings. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Nicolai&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 11:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-not-working/m-p/660013#M1078878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-11T11:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap not working</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-not-working/m-p/660014#M1078879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I'm sure I checked that a million times but words were never my strong point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 11:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-not-working/m-p/660014#M1078879</guid>
      <dc:creator>Karl_Hart</dc:creator>
      <dc:date>2014-07-11T11:44:04Z</dc:date>
    </item>
  </channel>
</rss>

