<?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: How to multiple replace into single replce funcation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-multiple-replace-into-single-replce-funcation/m-p/1319#M794105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match([Meeting Type Code], 'GRP', 'CCL', 'DINNER', 'LUNCH', 'BREAKFAST', 'GBR', 'DINE'), 'Group Meeting', 'Conference', 'Dinner', 'Lunch', 'Breakfast', 'Break', Dinner') as [Meeting Type Code]&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jan 2018 12:16:10 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2018-01-16T12:16:10Z</dc:date>
    <item>
      <title>How to multiple replace into single replce funcation</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiple-replace-into-single-replce-funcation/m-p/1318#M794104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am Qlikview learner..\&lt;/P&gt;&lt;P&gt;My expression like below..&lt;/P&gt;&lt;P&gt; Replace(Replace(Replace(Replace(Replace(Replace(Replace([Meeting Type Code],'GRP','Group Meeting'),'CCL','Conference Call'),'DINNER','Dinner'),'LUNCH','Lunch'),'BREAKFAST','Breakfast'),'GBR','Break'),'DINE','Dinner') as [Meeting Type Code]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to Write single replace or any other way is there..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nagarjuna&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/How-to-multiple-replace-into-single-replce-funcation/m-p/1318#M794104</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiple replace into single replce funcation</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiple-replace-into-single-replce-funcation/m-p/1319#M794105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match([Meeting Type Code], 'GRP', 'CCL', 'DINNER', 'LUNCH', 'BREAKFAST', 'GBR', 'DINE'), 'Group Meeting', 'Conference', 'Dinner', 'Lunch', 'Breakfast', 'Break', Dinner') as [Meeting Type Code]&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 12:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiple-replace-into-single-replce-funcation/m-p/1319#M794105</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-16T12:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiple replace into single replce funcation</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiple-replace-into-single-replce-funcation/m-p/1320#M794106</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;Based on the example I think you should take a look at the Applymap() function. It seems you want to convert values to different values, not just replace a few characters. Something like this should do the trick:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MeetingTypeCode_MAP:&lt;/P&gt;&lt;P&gt;MAPPING LOAD * INLINE [&lt;/P&gt;&lt;P&gt;OriginalCode, ReplacementCode&lt;/P&gt;&lt;P&gt;GRP, Group Meeting&lt;/P&gt;&lt;P&gt;CCL, Conference&lt;/P&gt;&lt;P&gt;DINNER, Dinner&lt;/P&gt;&lt;P&gt;LUNCH, Lunch&lt;/P&gt;&lt;P&gt;BREAKFAST, Breakfast&lt;/P&gt;&lt;P&gt;GBR, Break&lt;/P&gt;&lt;P&gt;DINE, Dinner&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your load statement you can use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Applymap('MeetingTypeCode_MAP', [Meeting Type Code], 'Unknown') AS NewMeetingTypeCode&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Teemu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 12:19:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiple-replace-into-single-replce-funcation/m-p/1320#M794106</guid>
      <dc:creator>teempi</dc:creator>
      <dc:date>2018-01-16T12:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiple replace into single replce funcation</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiple-replace-into-single-replce-funcation/m-p/1321#M794107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 13:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiple-replace-into-single-replce-funcation/m-p/1321#M794107</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-16T13:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiple replace into single replce funcation</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiple-replace-into-single-replce-funcation/m-p/1322#M794108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NP, Please close this thread &lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 13:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiple-replace-into-single-replce-funcation/m-p/1322#M794108</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-16T13:38:45Z</dc:date>
    </item>
  </channel>
</rss>

