<?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 for multiple IDs inside one field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ApplyMap-for-multiple-IDs-inside-one-field/m-p/88141#M762557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh god, it was that simple all along? I really did not find it in the help.&lt;/P&gt;&lt;P&gt;Thank you so much, it worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2018 06:29:16 GMT</pubDate>
    <dc:creator>david_pkma</dc:creator>
    <dc:date>2018-08-01T06:29:16Z</dc:date>
    <item>
      <title>ApplyMap for multiple IDs inside one field</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-for-multiple-IDs-inside-one-field/m-p/88138#M762554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Mapping Table like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapCustomer:&lt;/P&gt;&lt;P&gt;Mapping LOAD ORGID, NAME&lt;/P&gt;&lt;P&gt;Reisdent Customer;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="125" style="border: 1px solid rgb(0, 0, 0); width: 150px; height: 109px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ORGID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;NAME&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Name1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Name2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Name3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Name4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now I have &lt;STRONG&gt;one&lt;/STRONG&gt; field like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldName: 1,2,3,4&lt;/P&gt;&lt;P&gt;(Comma seperated IDs inside that one field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to load in the loading script instead of the FieldName IDs the actual names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15330406498381776" jivemacro_uid="_15330406498381776"&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;ApplyMap('MapCustomer', SubField(FieldName,','), null()) as AppliedMap&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;Source&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the result should be:&lt;/P&gt;&lt;P&gt;AppliedMap: Name1,Name2,Name3,Name4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should be dynamic, since the count of IDs can vary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course this does not work but I am really missing the point on how to make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-for-multiple-IDs-inside-one-field/m-p/88138#M762554</guid>
      <dc:creator>david_pkma</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap for multiple IDs inside one field</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-for-multiple-IDs-inside-one-field/m-p/88139#M762555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you use MapSubString instead&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/MappingFunctions/MapSubstring.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/MappingFunctions/MapSubstring.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/MappingFunctions/MapSubstring.htm&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MapSubString('MapCustomer', FieldName) as AppliedMap&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 15:14:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-for-multiple-IDs-inside-one-field/m-p/88139#M762555</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-31T15:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap for multiple IDs inside one field</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-for-multiple-IDs-inside-one-field/m-p/88140#M762556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;MapCustomer:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Mapping&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ORGID, NAME&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, Name1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Name2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, Name3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, Name4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; MapSubString('MapCustomer', FieldName) as AppliedMap;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldName&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "1,2,3,4"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 15:16:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-for-multiple-IDs-inside-one-field/m-p/88140#M762556</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-31T15:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyMap for multiple IDs inside one field</title>
      <link>https://community.qlik.com/t5/QlikView/ApplyMap-for-multiple-IDs-inside-one-field/m-p/88141#M762557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh god, it was that simple all along? I really did not find it in the help.&lt;/P&gt;&lt;P&gt;Thank you so much, it worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 06:29:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ApplyMap-for-multiple-IDs-inside-one-field/m-p/88141#M762557</guid>
      <dc:creator>david_pkma</dc:creator>
      <dc:date>2018-08-01T06:29:16Z</dc:date>
    </item>
  </channel>
</rss>

