<?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 average over chart dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169832#M40477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;My data has monthly snapshots of objects containing a "Number_Of_Items" field. I create a Quarter and Year field from the current month the data is from.&lt;/P&gt;&lt;P&gt;I use a drill-down group as Dimension with Year, Quarter, Month.&lt;/P&gt;&lt;P&gt;I show the &lt;STRONG&gt;sum(Number_Of_Items)&lt;/STRONG&gt; as expression in a bar-chart.&lt;/P&gt;&lt;P&gt;Selecting the Year the bars show the sum of all the monthly values in the year where I would like to show the average of the monthly numbers.&lt;/P&gt;&lt;P&gt;Reading the help file tells me that &lt;STRONG&gt;avg&lt;/STRONG&gt; is using the charts dimensions but avg(sum(Number_Of_Items)) does not return a value.&lt;/P&gt;&lt;P&gt;Do I need to divide the total Number_Of_Items by the number of month's for year and quarter shown in the chart myself?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Nov 2010 08:17:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-03T08:17:15Z</dc:date>
    <item>
      <title>average over chart dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169832#M40477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;My data has monthly snapshots of objects containing a "Number_Of_Items" field. I create a Quarter and Year field from the current month the data is from.&lt;/P&gt;&lt;P&gt;I use a drill-down group as Dimension with Year, Quarter, Month.&lt;/P&gt;&lt;P&gt;I show the &lt;STRONG&gt;sum(Number_Of_Items)&lt;/STRONG&gt; as expression in a bar-chart.&lt;/P&gt;&lt;P&gt;Selecting the Year the bars show the sum of all the monthly values in the year where I would like to show the average of the monthly numbers.&lt;/P&gt;&lt;P&gt;Reading the help file tells me that &lt;STRONG&gt;avg&lt;/STRONG&gt; is using the charts dimensions but avg(sum(Number_Of_Items)) does not return a value.&lt;/P&gt;&lt;P&gt;Do I need to divide the total Number_Of_Items by the number of month's for year and quarter shown in the chart myself?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 08:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169832#M40477</guid>
      <dc:creator />
      <dc:date>2010-11-03T08:17:15Z</dc:date>
    </item>
    <item>
      <title>average over chart dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169833#M40478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure that understand your task, but try use AVG(Number_Of_Items)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 08:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169833#M40478</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-11-03T08:37:01Z</dc:date>
    </item>
    <item>
      <title>average over chart dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169834#M40479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anatoly&lt;/P&gt;&lt;P&gt;I have many objects within each month&lt;/P&gt;&lt;P&gt;avg(Number_Of_Items) gives me the average over all the objects but not over the montly totals within the year.&lt;/P&gt;&lt;P&gt;Juerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 09:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169834#M40479</guid>
      <dc:creator />
      <dc:date>2010-11-03T09:23:41Z</dc:date>
    </item>
    <item>
      <title>average over chart dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169835#M40480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mya be, you should use such expression:&lt;/P&gt;&lt;P&gt;avg(TOTAL &amp;lt;Month&amp;gt; Number_Of_Items)&lt;/P&gt;&lt;P&gt;If I don't understand again, please can you give a small example of your data and explain me what you want to achieve in each month value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 09:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169835#M40480</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-11-03T09:33:32Z</dc:date>
    </item>
    <item>
      <title>average over chart dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169836#M40481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anatoly&lt;/P&gt;&lt;P&gt;I have tried to make an example.&lt;/P&gt;&lt;P&gt;I could divide the sum(Number_Of_Items) by number of month's but for the current year I would need to count the existing number of month and can not use 12 as divisor.&lt;/P&gt;&lt;P&gt;Juerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 10:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169836#M40481</guid>
      <dc:creator />
      <dc:date>2010-11-03T10:14:16Z</dc:date>
    </item>
    <item>
      <title>average over chart dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169837#M40482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Juerg,&lt;/P&gt;&lt;P&gt;I understand that you want to calculate the average over the month's sum.&lt;BR /&gt;So first calculate all the sums for the months, and then calculate the avg ... all along the chart dimensions.&lt;/P&gt;&lt;P&gt;This sounds to me as you could use the 'aggr' function.&lt;BR /&gt;This function returns a set of values 'along given dimensions' on which you can do further calculations.&lt;/P&gt;&lt;P&gt;Simplified I imagine something like avg( aggr(sum(Items), Month) ).&lt;/P&gt;&lt;P&gt;hth,&lt;BR /&gt;Thilo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 10:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169837#M40482</guid>
      <dc:creator />
      <dc:date>2010-11-03T10:41:07Z</dc:date>
    </item>
    <item>
      <title>average over chart dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169838#M40483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, Juerg.&lt;/P&gt;&lt;P&gt;I undestood now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;see in my example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 10:41:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169838#M40483</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-11-03T10:41:43Z</dc:date>
    </item>
    <item>
      <title>average over chart dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169839#M40484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Looks better and I will have a look into the AGGR function.&lt;/P&gt;&lt;P&gt;As the year level looks good selecting the Month level however shows equal values for object 1 and 2 which is not correct.&lt;/P&gt;&lt;P&gt;Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 13:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/average-over-chart-dimensions/m-p/169839#M40484</guid>
      <dc:creator />
      <dc:date>2010-11-03T13:48:08Z</dc:date>
    </item>
  </channel>
</rss>

