<?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: Why does MIN value from an AGGR expression return a 0 but MAX and AVG work? See example in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-does-MIN-value-from-an-AGGR-expression-return-a-0-but-MAX/m-p/983213#M335587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a guess:&lt;/P&gt;&lt;P&gt;your straight table has suppress zero values checked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Oct 2015 17:38:44 GMT</pubDate>
    <dc:creator>m_woolf</dc:creator>
    <dc:date>2015-10-28T17:38:44Z</dc:date>
    <item>
      <title>Why does MIN value from an AGGR expression return a 0 but MAX and AVG work? See example</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-MIN-value-from-an-AGGR-expression-return-a-0-but-MAX/m-p/983211#M335585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example below I get a 0 when I try to get the Min value from an AGGR expression. Max and Avg work so I don't understand why Min doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="MinMax.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103376_MinMax.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expressions are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max: =Num(Max(Aggr(Sum(LineSalesAmount), SalesPerson)), '#,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Min: =Num(Min(Aggr(Sum(LineSalesAmount), SalesPerson)), '#,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas please? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 17:29:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-MIN-value-from-an-AGGR-expression-return-a-0-but-MAX/m-p/983211#M335585</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2015-10-28T17:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why does MIN value from an AGGR expression return a 0 but MAX and AVG work? See example</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-MIN-value-from-an-AGGR-expression-return-a-0-but-MAX/m-p/983212#M335586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably have "Suppress Zero-values" checked in the straight table, which hides a salesperson with 0 as sales amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 17:37:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-MIN-value-from-an-AGGR-expression-return-a-0-but-MAX/m-p/983212#M335586</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-10-28T17:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why does MIN value from an AGGR expression return a 0 but MAX and AVG work? See example</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-MIN-value-from-an-AGGR-expression-return-a-0-but-MAX/m-p/983213#M335587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a guess:&lt;/P&gt;&lt;P&gt;your straight table has suppress zero values checked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 17:38:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-MIN-value-from-an-AGGR-expression-return-a-0-but-MAX/m-p/983213#M335587</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2015-10-28T17:38:44Z</dc:date>
    </item>
  </channel>
</rss>

