<?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 Find and Replace in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284887#M105917</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;check out the Replace() function. this shoudl do what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;Replace &lt;A name="replace"&gt;&lt;/A&gt;( &lt;SPAN class="hcp6"&gt;s, fromstring ,tostring&lt;/SPAN&gt;&amp;nbsp; ) &lt;/H4&gt;&lt;P&gt;Returns a string after replacing all occurences of a given substring within the string &lt;SPAN class="hcp6"&gt;s&lt;/SPAN&gt; with another substring. The function is non-recursive and works from left to right.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hcp6"&gt;s&lt;/SPAN&gt; is the original string. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hcp6"&gt;fromstring&lt;/SPAN&gt; is a string which may occur one or more times within string. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hcp6"&gt;tostring&lt;/SPAN&gt; is the string which will replace all occurences of &lt;SPAN class="hcp6"&gt;fromstring&lt;/SPAN&gt; within string. &lt;/P&gt;&lt;H2&gt;Example:&lt;/H2&gt;&lt;P class="hcp7"&gt;&lt;SPAN class="hcp3"&gt;replace('abccde','cc','xyz')&lt;/SPAN&gt; returns ‘&lt;SPAN class="hcp6"&gt;abxyzde&lt;/SPAN&gt;’&lt;/P&gt;&lt;P class="hcp7"&gt;&lt;/P&gt;&lt;P class="hcp7"&gt;You can either use it in an expression in your chart or to transform the field when you load it into your qvw from your data source.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2011 07:16:52 GMT</pubDate>
    <dc:creator>pat_agen</dc:creator>
    <dc:date>2011-06-14T07:16:52Z</dc:date>
    <item>
      <title>Find and Replace</title>
      <link>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284885#M105915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a stright table in that I have a field name called as "Comments", it contains around 300 rows of values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is I would like to find and replace a particular value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example In the field REMAINDER is a word and I would like to change into CANCEL. Is it possible to replace the values for the entire table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 07:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284885#M105915</guid>
      <dc:creator />
      <dc:date>2011-06-14T07:08:07Z</dc:date>
    </item>
    <item>
      <title>Find and Replace</title>
      <link>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284886#M105916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply you can use if statement to convert the text&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cool.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 07:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284886#M105916</guid>
      <dc:creator />
      <dc:date>2011-06-14T07:13:05Z</dc:date>
    </item>
    <item>
      <title>Find and Replace</title>
      <link>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284887#M105917</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;check out the Replace() function. this shoudl do what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;Replace &lt;A name="replace"&gt;&lt;/A&gt;( &lt;SPAN class="hcp6"&gt;s, fromstring ,tostring&lt;/SPAN&gt;&amp;nbsp; ) &lt;/H4&gt;&lt;P&gt;Returns a string after replacing all occurences of a given substring within the string &lt;SPAN class="hcp6"&gt;s&lt;/SPAN&gt; with another substring. The function is non-recursive and works from left to right.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hcp6"&gt;s&lt;/SPAN&gt; is the original string. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hcp6"&gt;fromstring&lt;/SPAN&gt; is a string which may occur one or more times within string. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hcp6"&gt;tostring&lt;/SPAN&gt; is the string which will replace all occurences of &lt;SPAN class="hcp6"&gt;fromstring&lt;/SPAN&gt; within string. &lt;/P&gt;&lt;H2&gt;Example:&lt;/H2&gt;&lt;P class="hcp7"&gt;&lt;SPAN class="hcp3"&gt;replace('abccde','cc','xyz')&lt;/SPAN&gt; returns ‘&lt;SPAN class="hcp6"&gt;abxyzde&lt;/SPAN&gt;’&lt;/P&gt;&lt;P class="hcp7"&gt;&lt;/P&gt;&lt;P class="hcp7"&gt;You can either use it in an expression in your chart or to transform the field when you load it into your qvw from your data source.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 07:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284887#M105917</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-06-14T07:16:52Z</dc:date>
    </item>
    <item>
      <title>Find and Replace</title>
      <link>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284888#M105918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using If statement, but I failed, Can you expain it.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 07:17:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284888#M105918</guid>
      <dc:creator />
      <dc:date>2011-06-14T07:17:40Z</dc:date>
    </item>
    <item>
      <title>Find and Replace</title>
      <link>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284889#M105919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if(Comments='REMAINDER', 'CANCEL',Comments)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 07:20:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284889#M105919</guid>
      <dc:creator />
      <dc:date>2011-06-14T07:20:08Z</dc:date>
    </item>
    <item>
      <title>Find and Replace</title>
      <link>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284890#M105920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Bala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached my qvw file in the orginal post, can you see and advise me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 07:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284890#M105920</guid>
      <dc:creator />
      <dc:date>2011-06-14T07:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Find and Replace</title>
      <link>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284891#M105921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sorry I didn't see the attachment before...You can use =replace(Comments,'REMINDER','CANCEL') in the list box&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 07:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284891#M105921</guid>
      <dc:creator />
      <dc:date>2011-06-14T07:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Find and Replace</title>
      <link>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284892#M105922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Agree with Pat. Try replacing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt; if([Comments]='REMINDER','XXXXXXXXXXXXXX',[Comments]) as comm&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your script by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Replace(Comments, 'REMINDER' 'CANCEL') AS comm&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 07:58:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284892#M105922</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-06-14T07:58:53Z</dc:date>
    </item>
    <item>
      <title>Find and Replace</title>
      <link>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284893#M105923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot both Bala and Miguel its working fine now...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but using the same replace command I would like to replace multiple values, is it possible..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE([commentFollow],'n&amp;amp;#39;', 'Name','qu&amp;amp;#39;','Name1') as NcommentFollow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 11:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284893#M105923</guid>
      <dc:creator />
      <dc:date>2011-06-14T11:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Find and Replace</title>
      <link>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284894#M105924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understood you right, it is possible, although the function is different. Take a look at the following sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;CharMap:&lt;/P&gt;&lt;P&gt;MAPPING LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Old, New&lt;/P&gt;&lt;P&gt;á, &amp;amp;aacute;&lt;/P&gt;&lt;P&gt;é, &amp;amp;eacute;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MapSubString('CharMap', OriginalField) AS ModifiedField&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;OriginalField&lt;/P&gt;&lt;P&gt;áé&lt;/P&gt;&lt;P&gt;ae&lt;/P&gt;&lt;P&gt;aé&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 11:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284894#M105924</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-06-14T11:07:03Z</dc:date>
    </item>
    <item>
      <title>Find and Replace</title>
      <link>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284895#M105925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 11:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-and-Replace/m-p/284895#M105925</guid>
      <dc:creator />
      <dc:date>2011-06-14T11:30:58Z</dc:date>
    </item>
  </channel>
</rss>

