<?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 question in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/ApplyMap-question/m-p/1747302#M57416</link>
    <description>&lt;P&gt;You can use a temporary table or you can use&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/preceding-load.htm" target="_self"&gt;Preceding LOAD&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Sep 2020 18:16:22 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2020-09-25T18:16:22Z</dc:date>
    <item>
      <title>ApplyMap question</title>
      <link>https://community.qlik.com/t5/App-Development/ApplyMap-question/m-p/1747279#M57412</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just created a new field in one of my tables as a result of an ApplyMap():&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ApplyMap('Company_Country', IdCompany) as IdCountry&lt;/STRONG&gt; which works OK. As a result, I get a new column in my table named IdCountry which keeps the country of the company.&lt;/P&gt;&lt;P&gt;When I try to use that new field in an ApplyMap() (for instance to get the continent), an error shows up claiming IdCountry is not found:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ApplyMap('Company_Continent',IdCountry ) as IdContinent,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ApplyMap('Company_Continent_Name',IdCountry)&amp;nbsp;as ContinentName,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;One workaround could be the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ApplyMap('Company_Continent', ApplyMap('Company_Country', IdCompany)) as IdContinent,&lt;BR /&gt;ApplyMap('Company_Continent_Name', ApplyMap('Company_Country', IdCompany))&amp;nbsp;as ContinentName,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;Àlex&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 16:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ApplyMap-question/m-p/1747279#M57412</guid>
      <dc:creator>agbcn</dc:creator>
      <dc:date>2020-09-25T16:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap question</title>
      <link>https://community.qlik.com/t5/App-Development/ApplyMap-question/m-p/1747291#M57413</link>
      <description>&lt;P&gt;Are you doing this in the same load? or is this in a load statement (resident or precedent load) after idCountry has been created? The same load doesn't work, because the field is still getting created and you cannot refer to the field being created in the same load (at least not for this scenario).&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 17:50:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ApplyMap-question/m-p/1747291#M57413</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-09-25T17:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap question</title>
      <link>https://community.qlik.com/t5/App-Development/ApplyMap-question/m-p/1747293#M57414</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply!&lt;/P&gt;&lt;P&gt;I'm doing this in the same table load, so I guess I should use a temporary table instead.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;àlex&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 17:54:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ApplyMap-question/m-p/1747293#M57414</guid>
      <dc:creator>agbcn</dc:creator>
      <dc:date>2020-09-25T17:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap question</title>
      <link>https://community.qlik.com/t5/App-Development/ApplyMap-question/m-p/1747302#M57416</link>
      <description>&lt;P&gt;You can use a temporary table or you can use&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/preceding-load.htm" target="_self"&gt;Preceding LOAD&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 18:16:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ApplyMap-question/m-p/1747302#M57416</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-09-25T18:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap question</title>
      <link>https://community.qlik.com/t5/App-Development/ApplyMap-question/m-p/1747379#M57426</link>
      <description>&lt;P&gt;Thanks! I'm gonna try Preceding Load&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 11:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ApplyMap-question/m-p/1747379#M57426</guid>
      <dc:creator>agbcn</dc:creator>
      <dc:date>2020-09-26T11:16:36Z</dc:date>
    </item>
  </channel>
</rss>

