<?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: Get the Max Value for Consecutive Periods in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-the-Max-Value-for-Consecutive-Periods/m-p/621420#M1101465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use AGGR function and get the max.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Apr 2014 22:47:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-10T22:47:54Z</dc:date>
    <item>
      <title>Get the Max Value for Consecutive Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-Max-Value-for-Consecutive-Periods/m-p/621416#M1101461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with &lt;STRONG&gt;ids&lt;/STRONG&gt; and &lt;STRONG&gt;periods&lt;/STRONG&gt;. I need to get the max value for the column &lt;STRONG&gt;consecutive periods&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a column named &lt;STRONG&gt;consecutive periods&lt;/STRONG&gt;, but now I need to get the max value for the field &lt;STRONG&gt;consecutive periods&lt;/STRONG&gt; for each &lt;STRONG&gt;id&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that I can't use the max function because the column &lt;STRONG&gt;consecutive periods&lt;/STRONG&gt; is an expression and it shows me null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="IMA_0001.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/56930_IMA_0001.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need is to obtain a result like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="IMA_0002.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/56931_IMA_0002.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should have something like this, hiding the columns &lt;STRONG&gt;periods&lt;/STRONG&gt; and &lt;STRONG&gt;consecutive periods&lt;/STRONG&gt; using a simple table graphic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="IMA_0003.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/56932_IMA_0003.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would need this as an expression in my table because the periods are dynamic and they vary according to a slider object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 19:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-Max-Value-for-Consecutive-Periods/m-p/621416#M1101461</guid>
      <dc:creator />
      <dc:date>2014-04-09T19:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get the Max Value for Consecutive Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-Max-Value-for-Consecutive-Periods/m-p/621417#M1101462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like This?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 19:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-Max-Value-for-Consecutive-Periods/m-p/621417#M1101462</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-09T19:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Get the Max Value for Consecutive Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-Max-Value-for-Consecutive-Periods/m-p/621418#M1101463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would use that solution if I had fixed periods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as I asked before, I have something like this with a slider object that make the periods dynamic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="IMA_0004.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/56939_IMA_0004.jpg" style="width: 620px; height: 364px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach the file with the slider object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 20:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-Max-Value-for-Consecutive-Periods/m-p/621418#M1101463</guid>
      <dc:creator />
      <dc:date>2014-04-09T20:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: Get the Max Value for Consecutive Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-Max-Value-for-Consecutive-Periods/m-p/621419#M1101464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found 1 more issue in v1, so there is v2.&lt;/P&gt;&lt;P&gt;Please let me know if my demo gives you expected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'am still trying to find more elegant way to calculate your indicator....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 21:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-Max-Value-for-Consecutive-Periods/m-p/621419#M1101464</guid>
      <dc:creator />
      <dc:date>2014-04-10T21:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get the Max Value for Consecutive Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-Max-Value-for-Consecutive-Periods/m-p/621420#M1101465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use AGGR function and get the max.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 22:47:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-Max-Value-for-Consecutive-Periods/m-p/621420#M1101465</guid>
      <dc:creator />
      <dc:date>2014-04-10T22:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Get the Max Value for Consecutive Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-Max-Value-for-Consecutive-Periods/m-p/621421#M1101466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pushpendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;of course you are right.&lt;/P&gt;&lt;P&gt;But there is problem of counting number of &lt;STRONG&gt;Consecutve&lt;/STRONG&gt; &lt;STRONG&gt;periods&lt;/STRONG&gt; before this max.&lt;/P&gt;&lt;P&gt;Please look on my demo. I think, it gives good results, but expression is not very elegant. Maybe you will find better way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 22:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-Max-Value-for-Consecutive-Periods/m-p/621421#M1101466</guid>
      <dc:creator />
      <dc:date>2014-04-10T22:59:01Z</dc:date>
    </item>
  </channel>
</rss>

