<?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: compare month prodution with average prodution in Qlik Learning Discussions</title>
    <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/compare-month-prodution-with-average-prodution/m-p/690963#M620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think its this&lt;/P&gt;&lt;P&gt;avg({1}aggr({1}sum({1}qty)), year, month))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thaks to all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Sep 2014 08:38:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-13T08:38:24Z</dc:date>
    <item>
      <title>compare month prodution with average prodution</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/compare-month-prodution-with-average-prodution/m-p/690958#M615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;hi, this is my firt post and this is my first project&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have this table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/66636_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this one i can create&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/66637_pastedImage_3.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i can't create this one&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/66641_pastedImage_4.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the total is calculated by adding the total of each january (4+6+6)&lt;/P&gt;&lt;P&gt;and the avarege is the avarege of (4,6,6) i.e in this case (4+6+6)/3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thaks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 22:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/compare-month-prodution-with-average-prodution/m-p/690958#M615</guid>
      <dc:creator />
      <dc:date>2014-09-12T22:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: compare month prodution with average prodution</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/compare-month-prodution-with-average-prodution/m-p/690959#M616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this: avg(aggr(sum(qty), year))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Sep 2014 00:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/compare-month-prodution-with-average-prodution/m-p/690959#M616</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-09-13T00:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: compare month prodution with average prodution</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/compare-month-prodution-with-average-prodution/m-p/690960#M617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your formula for calculate average are wrong&lt;/P&gt;&lt;P&gt;you can use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(total) / count(distinct year)&amp;nbsp; &lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Sum(qty) / count(distinct year)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;avg(aggr(sum(qty), year)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Sep 2014 03:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/compare-month-prodution-with-average-prodution/m-p/690960#M617</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-09-13T03:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: compare month prodution with average prodution</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/compare-month-prodution-with-average-prodution/m-p/690961#M618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check enclosed file....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Sep 2014 08:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/compare-month-prodution-with-average-prodution/m-p/690961#M618</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-13T08:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: compare month prodution with average prodution</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/compare-month-prodution-with-average-prodution/m-p/690962#M619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i only have to add the month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg(aggr(sum(qty), year, month))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the average its ok, but it returns the average of my selection, i want the average of all the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Sep 2014 08:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/compare-month-prodution-with-average-prodution/m-p/690962#M619</guid>
      <dc:creator />
      <dc:date>2014-09-13T08:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: compare month prodution with average prodution</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/compare-month-prodution-with-average-prodution/m-p/690963#M620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think its this&lt;/P&gt;&lt;P&gt;avg({1}aggr({1}sum({1}qty)), year, month))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thaks to all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Sep 2014 08:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/compare-month-prodution-with-average-prodution/m-p/690963#M620</guid>
      <dc:creator />
      <dc:date>2014-09-13T08:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: compare month prodution with average prodution</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/compare-month-prodution-with-average-prodution/m-p/690964#M621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it should be &lt;/P&gt;&lt;P&gt;SUM({1}qty)&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;Avg({1}Aggr(SUM({1}qty),Year))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Sep 2014 08:41:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/compare-month-prodution-with-average-prodution/m-p/690964#M621</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-13T08:41:22Z</dc:date>
    </item>
  </channel>
</rss>

