<?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: Case 309 How to create one expression to replace multiple expression ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Case-309-How-to-create-one-expression-to-replace-multiple/m-p/1703250#M592351</link>
    <description>Hi Sir&lt;BR /&gt;&lt;BR /&gt;Many thank it work fine now .&lt;BR /&gt;&lt;BR /&gt;Paul&lt;BR /&gt;</description>
    <pubDate>Mon, 18 May 2020 23:00:30 GMT</pubDate>
    <dc:creator>paulyeo11</dc:creator>
    <dc:date>2020-05-18T23:00:30Z</dc:date>
    <item>
      <title>Case 309 How to create one expression to replace multiple expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/Case-309-How-to-create-one-expression-to-replace-multiple/m-p/1702919#M592349</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;I have below script work fine , except for the red color expression not working :-&lt;/P&gt;&lt;P&gt;MAP_NAME_A:&lt;BR /&gt;mapping LOAD RAW,&lt;BR /&gt;NAME&lt;BR /&gt;FROM&lt;BR /&gt;[MAP_A.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is MAP_A);&lt;/P&gt;&lt;P&gt;MAP_NAME_B:&lt;BR /&gt;mapping LOAD RAW,&lt;BR /&gt;NAME&lt;BR /&gt;FROM&lt;BR /&gt;[MAP_B.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is MAP_B);&lt;/P&gt;&lt;P&gt;For Each i in 'A','B'&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;COY,&lt;BR /&gt;SALESMAN,&lt;BR /&gt;'$(i)' as SOURCE,&lt;BR /&gt;&lt;BR /&gt;ApplyMap('MAP_NAME_A',[SALESMAN],'OTHERS') as [SALESMANE_A],&lt;BR /&gt;ApplyMap('MAP_NAME_B',[SALESMAN],'OTHERS') as [SALESMANE_B],&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;ApplyMap('MAP_NAME_'$(i)'',[SALESMAN],'OTHERS') as [SALESMANE],&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;SALES&lt;BR /&gt;FROM&lt;BR /&gt;COY_$(i).xlsx (ooxml, embedded labels, table is COY_$(i));&lt;BR /&gt;NEXT i;&lt;/P&gt;&lt;P&gt;Hope some one can advise me how to do it ?&lt;/P&gt;&lt;P&gt;I get below error msg :-&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Error in expression:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;')' expected&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;LOAD&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The final result :-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="final result master.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33834iB352D043F5D8D237/image-size/large?v=v2&amp;amp;px=999" role="button" title="final result master.png" alt="final result master.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 04:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-309-How-to-create-one-expression-to-replace-multiple/m-p/1702919#M592349</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-05-18T04:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Case 309 How to create one expression to replace multiple expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/Case-309-How-to-create-one-expression-to-replace-multiple/m-p/1703246#M592350</link>
      <description>&lt;LI-CODE lang="markup"&gt;ApplyMap('MAP_NAME_$(i)',[SALESMAN],'OTHERS') as [SALESMANE],&lt;/LI-CODE&gt;&lt;P&gt;Remove single quote around $(i). Within a String, if you use $, the variable will be automatically replaced with the value.&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 22:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-309-How-to-create-one-expression-to-replace-multiple/m-p/1703246#M592350</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-18T22:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Case 309 How to create one expression to replace multiple expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/Case-309-How-to-create-one-expression-to-replace-multiple/m-p/1703250#M592351</link>
      <description>Hi Sir&lt;BR /&gt;&lt;BR /&gt;Many thank it work fine now .&lt;BR /&gt;&lt;BR /&gt;Paul&lt;BR /&gt;</description>
      <pubDate>Mon, 18 May 2020 23:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-309-How-to-create-one-expression-to-replace-multiple/m-p/1703250#M592351</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-05-18T23:00:30Z</dc:date>
    </item>
  </channel>
</rss>

