<?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 Expression problem (sum if replace) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-problem-sum-if-replace/m-p/340264#M492714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, can anaone help me with this problem? For this sample I simplified the expression.&lt;/P&gt;&lt;P&gt;In a text object I need to replace some text like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(if(replace('str1_dim1 &amp;gt; 100', 'str1', 'val1'), budget))&lt;/P&gt;&lt;P&gt;Q: what is wrong about this? How can I force the string-replacement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;Original this would be something like:&lt;/P&gt;&lt;P&gt;vTmp = 'str1_dim1 &amp;gt; 100'&lt;/P&gt;&lt;P&gt;=sum(if(replace($(vTmp), 'str1', 'val1'), budget))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Coen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jul 2012 11:07:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-09T11:07:04Z</dc:date>
    <item>
      <title>Expression problem (sum if replace)</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-problem-sum-if-replace/m-p/340264#M492714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, can anaone help me with this problem? For this sample I simplified the expression.&lt;/P&gt;&lt;P&gt;In a text object I need to replace some text like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(if(replace('str1_dim1 &amp;gt; 100', 'str1', 'val1'), budget))&lt;/P&gt;&lt;P&gt;Q: what is wrong about this? How can I force the string-replacement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;Original this would be something like:&lt;/P&gt;&lt;P&gt;vTmp = 'str1_dim1 &amp;gt; 100'&lt;/P&gt;&lt;P&gt;=sum(if(replace($(vTmp), 'str1', 'val1'), budget))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Coen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 11:07:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-problem-sum-if-replace/m-p/340264#M492714</guid>
      <dc:creator />
      <dc:date>2012-07-09T11:07:04Z</dc:date>
    </item>
  </channel>
</rss>

