<?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: Rangemax second greatest value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rangemax-second-greatest-value/m-p/1359329#M416828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daan,&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;Max(Aggr(If(Rank(Sum(Omzet.Gewicht)) &amp;gt; 1 and Rank(-Sum(Omzet.Gewicht)) &amp;gt; 1,Sum(Omzet.Gewicht)),ArtID,WeekYear))&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jul 2017 16:34:38 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2017-07-24T16:34:38Z</dc:date>
    <item>
      <title>Rangemax second greatest value</title>
      <link>https://community.qlik.com/t5/QlikView/Rangemax-second-greatest-value/m-p/1359328#M416827</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;I have a question about the rangemax function. &lt;/P&gt;&lt;P&gt;I want to create a rolling average over 10 week excluding the two min- and max values over this 10 week. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made it to find the max value with the rangemax function: &lt;/P&gt;&lt;P&gt;Rangeavg(above(sum(aggr(sum(Omzet.Gewicht),ArtID,WeekYear)),1,10))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is it possible to get the second greatest value? With something like the Max(value, 2) function?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Knipsel.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/171163_Knipsel.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Daan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 12:25:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangemax-second-greatest-value/m-p/1359328#M416827</guid>
      <dc:creator>DaanBrand</dc:creator>
      <dc:date>2017-07-24T12:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rangemax second greatest value</title>
      <link>https://community.qlik.com/t5/QlikView/Rangemax-second-greatest-value/m-p/1359329#M416828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daan,&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;Max(Aggr(If(Rank(Sum(Omzet.Gewicht)) &amp;gt; 1 and Rank(-Sum(Omzet.Gewicht)) &amp;gt; 1,Sum(Omzet.Gewicht)),ArtID,WeekYear))&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 16:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangemax-second-greatest-value/m-p/1359329#M416828</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-07-24T16:34:38Z</dc:date>
    </item>
  </channel>
</rss>

