<?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 Henric Cronström load multiple raw data using 1 script , ApplyMap how to add ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264824#M623316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-size: 26px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hi All&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;Below code given by Henric Cronström , working fine , able to make use of only 1 script below loading 2 set of raw data Singapore and Malaysia :-&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For each vFileName in FileList('$(vRAWPath)\*.txt')&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ARSummary:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD left(FileBaseName(), 4) AS Report5_pay,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; FileBaseName() as SOURCE,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; @1:9T as [cust_id],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; @10:38T as [company_pay],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;ApplyMap('MapGroup',GROUP_CLASS,'OTHERS') as [GROUP_CLASS_]&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM "$(vFileName)" (ansi, fix, no labels, header is 0, record is line);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Next vFileName&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now the above ApplyMap only can recode :-&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if load Singapore or Malaysia raw data &lt;STRONG&gt;G1&lt;/STRONG&gt; it will recode &lt;STRONG&gt;G1-SG&lt;/STRONG&gt; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I like to know for the above Mapping recode , does it allow add condition ? &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if load &lt;STRONG&gt;Singapore&lt;/STRONG&gt; raw data &lt;STRONG&gt;G1&lt;/STRONG&gt; it will recode to &lt;STRONG&gt;G1-SG&lt;/STRONG&gt; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if load &lt;STRONG&gt;Malaysia&lt;/STRONG&gt; raw data &lt;STRONG&gt;G1&lt;/STRONG&gt; it will recode G1-&lt;STRONG&gt;MY&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Can some one tell me it is possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jan 2017 19:03:36 GMT</pubDate>
    <dc:creator>paulyeo11</dc:creator>
    <dc:date>2017-01-17T19:03:36Z</dc:date>
    <item>
      <title>Henric Cronström load multiple raw data using 1 script , ApplyMap how to add ?</title>
      <link>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264824#M623316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-size: 26px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hi All&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;Below code given by Henric Cronström , working fine , able to make use of only 1 script below loading 2 set of raw data Singapore and Malaysia :-&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For each vFileName in FileList('$(vRAWPath)\*.txt')&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ARSummary:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD left(FileBaseName(), 4) AS Report5_pay,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; FileBaseName() as SOURCE,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; @1:9T as [cust_id],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; @10:38T as [company_pay],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;ApplyMap('MapGroup',GROUP_CLASS,'OTHERS') as [GROUP_CLASS_]&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM "$(vFileName)" (ansi, fix, no labels, header is 0, record is line);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Next vFileName&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now the above ApplyMap only can recode :-&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if load Singapore or Malaysia raw data &lt;STRONG&gt;G1&lt;/STRONG&gt; it will recode &lt;STRONG&gt;G1-SG&lt;/STRONG&gt; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I like to know for the above Mapping recode , does it allow add condition ? &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if load &lt;STRONG&gt;Singapore&lt;/STRONG&gt; raw data &lt;STRONG&gt;G1&lt;/STRONG&gt; it will recode to &lt;STRONG&gt;G1-SG&lt;/STRONG&gt; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if load &lt;STRONG&gt;Malaysia&lt;/STRONG&gt; raw data &lt;STRONG&gt;G1&lt;/STRONG&gt; it will recode G1-&lt;STRONG&gt;MY&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Can some one tell me it is possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 19:03:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264824#M623316</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2017-01-17T19:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Henric Cronström load multiple raw data using 1 script , ApplyMap how to add ?</title>
      <link>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264825#M623317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may create two map files based on country and use 'if statement' in the script to decide which map to use. But you need to have source field to identify the country in&amp;nbsp; your if statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 19:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264825#M623317</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2017-01-17T19:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Henric Cronström load multiple raw data using 1 script , ApplyMap how to add ?</title>
      <link>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264826#M623318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have follow your advise. if i create 2 seperate line of script , it work fine :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MapGroup_SG',GROUP_CLASS,'OTHERS') as [GROUP_CLASS_1],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MapGroup_MY',GROUP_CLASS,'OTHERS') as [GROUP_CLASS_2]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try to use the if command below , i get error :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (SOURCE='Q_DOD_2016','ApplyMap('MapGroup_SG',GROUP_CLASS,'OTHERS')',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (SOURCE='Q_FCKL09','ApplyMap('MapGroup_MY',GROUP_CLASS,'OTHERS')',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )) as [GROUP_CLASS_3],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Can you advise me where go wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enclosed my simple file for testing , kindly unzip the file into c:\RECODE\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 20:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264826#M623318</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2017-01-17T20:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Henric Cronström load multiple raw data using 1 script , ApplyMap how to add ?</title>
      <link>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264827#M623319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try below without quotes for apply map&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (SOURCE='Q_DOD_2016',ApplyMap('MapGroup_SG',GROUP_CLASS,'OTHERS'),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (SOURCE='Q_FCKL09',ApplyMap('MapGroup_MY',GROUP_CLASS,'OTHERS'),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )) as [GROUP_CLASS_3],&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 20:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264827#M623319</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-01-17T20:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Henric Cronström load multiple raw data using 1 script , ApplyMap how to add ?</title>
      <link>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264828#M623320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have license to open qvw but you can simplify the statement if you have only two countries as below - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; if (SOURCE='Q_DOD_2016',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MapGroup_SG',GROUP_CLASS,'OTHERS'),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MapGroup_MY',GROUP_CLASS,'OTHERS'),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )) as [GROUP_CLASS_3],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You may try removing apostrophe before applymap else it would consider it as string.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 20:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264828#M623320</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2017-01-17T20:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Henric Cronström load multiple raw data using 1 script , ApplyMap how to add ?</title>
      <link>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264829#M623321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just try using both your expression , i get no error. But then it recode 1st row not correct , second row correct , only all even row correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="recode 4.png" class="jive-image image-1" src="/legacyfs/online/149786_recode 4.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 20:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264829#M623321</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2017-01-17T20:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Henric Cronström load multiple raw data using 1 script , ApplyMap how to add ?</title>
      <link>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264830#M623322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check your Mapping table for MapGroup_MY, it may have values for your SG companies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 20:40:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264830#M623322</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-01-17T20:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Henric Cronström load multiple raw data using 1 script , ApplyMap how to add ?</title>
      <link>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264831#M623323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sales_G:&lt;/P&gt;&lt;P&gt;LOAD GROUP_CLASS,grouping,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (SOURCE='Q_DOD_2016',ApplyMap('MapGrouping_SG',GROUP_CLASS,'OTHERS'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (SOURCE='Q_FCKL09',ApplyMap('MapGrouping_MY',GROUP_CLASS,'OTHERS'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )) as [GROUP_CLASS_3],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MapGroup_SG',GROUP_CLASS,'OTHERS') as [GROUP_CLASS_SG],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MapGroup_MY',GROUP_CLASS,'OTHERS') as [GROUP_CLASS_MY]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resident sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to create above script to get&amp;nbsp; 3 field ,&lt;/P&gt;&lt;P&gt;GROIUP_CLASS3 Not working, GROUP_CALSS_SG &amp;amp; GROUP_CLASS_MY working fine, see the below image , where else go wrong ? can you suggest ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use the &lt;SPAN style="font-size: 13.3333px;"&gt;GROUP_CLASS_SG&lt;/SPAN&gt; and &lt;SPAN style="font-size: 13.3333px;"&gt;GROUP_CLASS_MY , &lt;SPAN style="font-size: 13.3333px;"&gt;GROUP_CLASS_9 it will work fine , but i will get error msg all field name must be unique,.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="149788" alt="recode 5.png" class="jive-image image-1" src="/legacyfs/online/149788_recode 5.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 21:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Henric-Cronstr%C3%B6m-load-multiple-raw-data-using-1-script-ApplyMap/m-p/1264831#M623323</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2017-01-17T21:03:45Z</dc:date>
    </item>
  </channel>
</rss>

