<?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: Average? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average/m-p/916613#M981022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max(TOTAL Aggr(Count(DISTINCT monthyear), Item))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Aug 2015 03:57:32 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-08-11T03:57:32Z</dc:date>
    <item>
      <title>Average?</title>
      <link>https://community.qlik.com/t5/QlikView/Average/m-p/916608#M981017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with another formula for the average&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="avg.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/95460_avg.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(value)/count(distinct monthyear)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, It ignores zeros months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Rodrigo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Aug 2015 23:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average/m-p/916608#M981017</guid>
      <dc:creator />
      <dc:date>2015-08-09T23:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Average?</title>
      <link>https://community.qlik.com/t5/QlikView/Average/m-p/916609#M981018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you try without distinct..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(value)/count(monthyear)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Avg(value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 02:04:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average/m-p/916609#M981018</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-08-10T02:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Average?</title>
      <link>https://community.qlik.com/t5/QlikView/Average/m-p/916610#M981019</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 &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;try without distinct, but I need the monthly average and the result is different from average y with con Avg(value) neither.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a function to count the months that are in the table and consider the zeros&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>Mon, 10 Aug 2015 02:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average/m-p/916610#M981019</guid>
      <dc:creator />
      <dc:date>2015-08-10T02:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Average?</title>
      <link>https://community.qlik.com/t5/QlikView/Average/m-p/916611#M981020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand, 16.25 seems like correct average where your Sum(Value) = 130 and Count (monthyear) = 8 and 130/8 = 16.25. What are you expecting to see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 04:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average/m-p/916611#M981020</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-10T04:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Average?</title>
      <link>https://community.qlik.com/t5/QlikView/Average/m-p/916612#M981021</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;When I have the function count(monthyear) the result is not equal to 8 and when I have the function count (distinct monthYear) is not the result 8, so the do with that very long expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="avg2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/95588_avg2.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rodrigo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 22:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average/m-p/916612#M981021</guid>
      <dc:creator />
      <dc:date>2015-08-10T22:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Average?</title>
      <link>https://community.qlik.com/t5/QlikView/Average/m-p/916613#M981022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max(TOTAL Aggr(Count(DISTINCT monthyear), Item))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 03:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average/m-p/916613#M981022</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-11T03:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Average?</title>
      <link>https://community.qlik.com/t5/QlikView/Average/m-p/916614#M981023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will not count months that are missing (ie no entries containing that month). You will need to populate a master calendar with the missing months. This might help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2928"&gt;How to populate a sparsely populated field&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 05:26:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average/m-p/916614#M981023</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-11T05:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Average?</title>
      <link>https://community.qlik.com/t5/QlikView/Average/m-p/916615#M981024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Thank you very much&lt;/SPAN&gt; S&lt;SPAN class="hps"&gt;unnny&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 12:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average/m-p/916615#M981024</guid>
      <dc:creator />
      <dc:date>2015-08-11T12:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Average?</title>
      <link>https://community.qlik.com/t5/QlikView/Average/m-p/916616#M981025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a problem. I am glad it helped.&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>Tue, 11 Aug 2015 12:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average/m-p/916616#M981025</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-11T12:43:52Z</dc:date>
    </item>
  </channel>
</rss>

