<?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: Replace in Calculated Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-in-Calculated-Dimension/m-p/29798#M511011</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Replace(Replace(FinalMessage1, 'Date1', Max(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; {&amp;lt;MeasureID&amp;gt;} EVENT_DATE)), 'Date2', Max(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; {&amp;lt;MeasureID&amp;gt;} DUE_DATE))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2018 16:38:55 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-06-14T16:38:55Z</dc:date>
    <item>
      <title>Replace in Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-in-Calculated-Dimension/m-p/29797#M511010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am attempting to replace some text in a field using a calculated dimension and am getting an error. I was doing this in the script previously, but there can be multiple EVENT_DATES and I only want to show the max of them in the message. The expression will work in a text object. I have also attached a screenshot.&amp;nbsp; Any help is appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Replace&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FinalMessage1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'Date1',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MeasureID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EVENT_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),'Date2',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MeasureID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DUE_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 16:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-in-Calculated-Dimension/m-p/29797#M511010</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2018-06-14T16:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Replace in Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-in-Calculated-Dimension/m-p/29798#M511011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Replace(Replace(FinalMessage1, 'Date1', Max(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; {&amp;lt;MeasureID&amp;gt;} EVENT_DATE)), 'Date2', Max(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; {&amp;lt;MeasureID&amp;gt;} DUE_DATE))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 16:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-in-Calculated-Dimension/m-p/29798#M511011</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-14T16:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Replace in Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-in-Calculated-Dimension/m-p/29799#M511012</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>Thu, 14 Jun 2018 17:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-in-Calculated-Dimension/m-p/29799#M511012</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2018-06-14T17:32:55Z</dc:date>
    </item>
  </channel>
</rss>

