<?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 Max function doubt in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-function-doubt/m-p/796302#M1033765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a code which gives the name of the metric corresponding to the max value change among 20 metrics.&lt;/P&gt;&lt;P&gt;The code is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;MaxString&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MTA_Change&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={'$(=max(MTA_Change,1))'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Metric&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The problem I'm facing is that if there are two metrics with the same MTA_change then the code is not working. I want the 1st metric to be shown when the rank is 1 and the second metric when the rank is 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2015 13:45:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-30T13:45:42Z</dc:date>
    <item>
      <title>Max function doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Max-function-doubt/m-p/796302#M1033765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a code which gives the name of the metric corresponding to the max value change among 20 metrics.&lt;/P&gt;&lt;P&gt;The code is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;MaxString&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MTA_Change&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;={'$(=max(MTA_Change,1))'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Metric&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The problem I'm facing is that if there are two metrics with the same MTA_change then the code is not working. I want the 1st metric to be shown when the rank is 1 and the second metric when the rank is 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 13:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-function-doubt/m-p/796302#M1033765</guid>
      <dc:creator />
      <dc:date>2015-01-30T13:45:42Z</dc:date>
    </item>
  </channel>
</rss>

