<?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: Max value of variables or an array in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962717#M1255252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;STRONG&gt;RangeMax(vA, vB, vC)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Oct 2015 19:28:05 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-10-12T19:28:05Z</dc:date>
    <item>
      <title>Max value of variables or an array</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962716#M1255251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am looking for a function that gives me the max value of a set of variables or an array, for example, &lt;/P&gt;&lt;P&gt;vA=1, vB=10, vC=100&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;unknown function&lt;/EM&gt;&lt;/SPAN&gt;(vA, vB, vC)=100&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; text-decoration: underline;"&gt;&lt;EM&gt;unknown function&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(&amp;nbsp; 1,&amp;nbsp; 10, 100)=100&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;Is there such a function in QlikView? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962716#M1255251</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Max value of variables or an array</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962717#M1255252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;STRONG&gt;RangeMax(vA, vB, vC)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 19:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962717#M1255252</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-12T19:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Max value of variables or an array</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962718#M1255253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! Rangemax is what I am looking for!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 19:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962718#M1255253</guid>
      <dc:creator />
      <dc:date>2015-10-12T19:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Max value of variables or an array</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962719#M1255255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad it worked out the way you wanted it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 20:09:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962719#M1255255</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-12T20:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Max value of variables or an array</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962720#M1255257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to get 2nd highest value? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 14:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962720#M1255257</guid>
      <dc:creator />
      <dc:date>2015-10-13T14:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Max value of variables or an array</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962721#M1255259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=RangeMax(If(RangeMax(0, 10, 100) = 0, 0, 0), If(RangeMax(0, 10, 100) = 10, 0, 10),&amp;nbsp; If(RangeMax(0, 10, 100) = 100, 0, 100))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;=RangeMax(If(RangeMax(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vA, vB, vC&lt;/STRONG&gt;) = vA, 0, vA), If(RangeMax(&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vA, vB, vC&lt;/STRONG&gt;&lt;/STRONG&gt;) = vB, 0, &lt;STRONG style="font-size: 13.3333px;"&gt;vB&lt;/STRONG&gt;),&amp;nbsp; If(RangeMax(&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vA, vB, vC&lt;/STRONG&gt;&lt;/STRONG&gt;) = vC, 0, &lt;STRONG style="font-size: 13.3333px;"&gt;vC&lt;/STRONG&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 14:46:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962721#M1255259</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-13T14:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Max value of variables or an array</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962722#M1255260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, this is wonderful! I am expanding the formula to the 3rd, the 4th... highest value but it seems to be much more complicated. Have you had a solution? Again, this is fantastic!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 15:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962722#M1255260</guid>
      <dc:creator />
      <dc:date>2015-10-13T15:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Max value of variables or an array</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962723#M1255262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How many values do you have to compare? 4? May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=RangeMax(If(RangeMax(&lt;STRONG style="font-style: inherit; font-size: 13px;"&gt;vA, vB, vC, vD&lt;/STRONG&gt;) = vA, 0, vA), If(RangeMax(&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13px;"&gt;vA, vB, vC&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13px;"&gt;, vD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;) = vB, 0, &lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;vB&lt;/STRONG&gt;),&amp;nbsp; If(RangeMax(&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13px;"&gt;vA, vB, vC&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13px;"&gt;, vD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;) = vC, 0, &lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;vC&lt;/STRONG&gt;)&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, If(RangeMax(&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13px;"&gt;vA, vB, vC&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13px;"&gt;, vD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;) = vD, 0, &lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;vD&lt;/STRONG&gt;))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 15:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962723#M1255262</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-13T15:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Max value of variables or an array</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962724#M1255264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes for 4 variables, the 2nd highest value would be the formula you just posted.&lt;BR /&gt;The 3rd highest value would be like below, or the 2nd lowest value of rangemin:&lt;/P&gt;&lt;P&gt;=rangemax(&lt;/P&gt;&lt;P&gt;IF(RangeMax(If(RangeMax(vA, vB, vC, vD) = vA, 0, vA), If(RangeMax(vA, vB, vC, vD) = vB, 0, vB),&amp;nbsp; If(RangeMax(vA, vB, vC, vD) = vC, 0, vC), IF(RangeMax(vA, vB, vC, vD) = vD, 0 ,vD))=vA,&lt;/P&gt;&lt;P&gt;RangeMax(If(RangeMax(vB, vC, vD) = vB, 0, vB),&amp;nbsp; If(RangeMax(vB, vC, vD) = vC, 0, vC), IF(RangeMax(vB, vC, vD) = vD, 0 ,vD)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(RangeMax(If(RangeMax(vA, vB, vC, vD) = vA, 0, vA), If(RangeMax(vA, vB, vC, vD) = vB, 0, vB),&amp;nbsp; If(RangeMax(vA, vB, vC, vD) = vC, 0, vC), IF(RangeMax(vA, vB, vC, vD) = vD, 0 ,vD))=vB,&lt;/P&gt;&lt;P&gt;RangeMax(If(RangeMax(vA, vC, vD) = vA, 0, vA),&amp;nbsp; If(RangeMax(vA, vC, vD) = vC, 0, vC), IF(RangeMax(vA, vC, vD) = vD, 0 ,vD)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(RangeMax(If(RangeMax(vA, vB, vC, vD) = vA, 0, vA), If(RangeMax(vA, vB, vC, vD) = vB, 0, vB),&amp;nbsp; If(RangeMax(vA, vB, vC, vD) = vC, 0, vC), IF(RangeMax(vA, vB, vC, vD) = vD, 0 ,vD))=vB,&lt;/P&gt;&lt;P&gt;RangeMax(If(RangeMax(vA, vB, vD) = vA, 0, vA),&amp;nbsp; If(RangeMax(vA, vB, vD) = vB, 0, vB), IF(RangeMax(vA, vB, vD) = vD, 0 ,vD)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(RangeMax(If(RangeMax(vA, vB, vC, vD) = vA, 0, vA), If(RangeMax(vA, vB, vC, vD) = vB, 0, vB),&amp;nbsp; If(RangeMax(vA, vB, vC, vD) = vC, 0, vC), IF(RangeMax(vA, vB, vC, vD) = vD, 0 ,vD))=vD,&lt;/P&gt;&lt;P&gt;RangeMax(If(RangeMax(vA, vB, vC) = vA, 0, vA),&amp;nbsp; If(RangeMax(vA, vB, vC) = vB, 0, vB), IF(RangeMax(vA, vB, vC) = vC, 0 ,vC))&lt;/P&gt;&lt;P&gt;)))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 15:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962724#M1255264</guid>
      <dc:creator />
      <dc:date>2015-10-13T15:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Max value of variables or an array</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962725#M1255265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super Like Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 15:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962725#M1255265</guid>
      <dc:creator>SreeniJD</dc:creator>
      <dc:date>2015-10-13T15:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Max value of variables or an array</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962726#M1255266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would probably take the RangeMin route:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=RangeMin(If(RangeMin(&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit;"&gt;vA, vB, vC, vD&lt;/STRONG&gt;) = vA, 99999999999, vA), If(RangeMin(&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit;"&gt;vA, vB, vC&lt;STRONG style="font-style: inherit; font-size: 13.3333px;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit;"&gt;, vD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;) = vB, &lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;99999999999&lt;/STRONG&gt;,&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;vB&lt;/STRONG&gt;),&amp;nbsp; If(RangeMin(&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit;"&gt;vA, vB, vC&lt;STRONG style="font-style: inherit; font-size: 13.3333px;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit;"&gt;, vD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;) = vC, &lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;99999999999&lt;/STRONG&gt;, &lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;vC&lt;/STRONG&gt;)&lt;STRONG style="font-style: inherit; font-size: 13.3333px;"&gt;, If(RangeMin(&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit;"&gt;vA, vB, vC&lt;STRONG style="font-style: inherit; font-size: 13.3333px;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit;"&gt;, vD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;) = vD, &lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;99999999999&lt;/STRONG&gt;, &lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;vD&lt;/STRONG&gt;))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 15:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-of-variables-or-an-array/m-p/962726#M1255266</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-13T15:41:41Z</dc:date>
    </item>
  </channel>
</rss>

