<?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 aggr() in combination with above() returns null? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-in-combination-with-above-returns-null/m-p/198440#M57741</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 try to eval the minimum value in a dimension above a given threshold&lt;/P&gt;&lt;P style="font-weight: bold; padding-left: 30px"&gt;aggr (min ( if (bincount &amp;gt; 7 , bincount) ), dim )&lt;/P&gt;&lt;P&gt;which works fine for e.g.&lt;/P&gt;&lt;P&gt;dim=1, (ordered) values=3,1,4,8,5,1 evals to 8&lt;BR /&gt;dim=1, (ordered) values=7,18,1,5,1 evals to 18&lt;/P&gt;&lt;P&gt;Instead of bincount I however need the accumulated bincount value. If I use&lt;/P&gt;&lt;P style="font-weight: bold; padding-left: 30px"&gt;if (rangesum(above(bincount,0,rowno())) &amp;gt; 7, bincount)&lt;/P&gt;&lt;P&gt;I get the correct values displayed in my straight table expression column&lt;/P&gt;&lt;P&gt;dim=1, (ordered) values=3,1,4,8,5,1 evals to -,-,4,8,5,1&lt;BR /&gt;dim=1, (ordered) values=7,18,1,5,1 evals to -,18,1,5,1&lt;/P&gt;&lt;P&gt;Trying to get the minimum value for this accumulated value however returns null for all variants I tried&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;aggr ( min ( &lt;B&gt;if (rangesum(above(bincount,0,rowno())) &amp;gt; 7, bincount)&lt;/B&gt; ), dim)&lt;/P&gt;&lt;P&gt;Jürg&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Dec 2009 17:13:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-30T17:13:37Z</dc:date>
    <item>
      <title>aggr() in combination with above() returns null?</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-in-combination-with-above-returns-null/m-p/198440#M57741</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 try to eval the minimum value in a dimension above a given threshold&lt;/P&gt;&lt;P style="font-weight: bold; padding-left: 30px"&gt;aggr (min ( if (bincount &amp;gt; 7 , bincount) ), dim )&lt;/P&gt;&lt;P&gt;which works fine for e.g.&lt;/P&gt;&lt;P&gt;dim=1, (ordered) values=3,1,4,8,5,1 evals to 8&lt;BR /&gt;dim=1, (ordered) values=7,18,1,5,1 evals to 18&lt;/P&gt;&lt;P&gt;Instead of bincount I however need the accumulated bincount value. If I use&lt;/P&gt;&lt;P style="font-weight: bold; padding-left: 30px"&gt;if (rangesum(above(bincount,0,rowno())) &amp;gt; 7, bincount)&lt;/P&gt;&lt;P&gt;I get the correct values displayed in my straight table expression column&lt;/P&gt;&lt;P&gt;dim=1, (ordered) values=3,1,4,8,5,1 evals to -,-,4,8,5,1&lt;BR /&gt;dim=1, (ordered) values=7,18,1,5,1 evals to -,18,1,5,1&lt;/P&gt;&lt;P&gt;Trying to get the minimum value for this accumulated value however returns null for all variants I tried&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;aggr ( min ( &lt;B&gt;if (rangesum(above(bincount,0,rowno())) &amp;gt; 7, bincount)&lt;/B&gt; ), dim)&lt;/P&gt;&lt;P&gt;Jürg&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 17:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-in-combination-with-above-returns-null/m-p/198440#M57741</guid>
      <dc:creator />
      <dc:date>2009-12-30T17:13:37Z</dc:date>
    </item>
  </channel>
</rss>

