<?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 n Month average with multiple dimensions in straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/n-Month-average-with-multiple-dimensions-in-straight-table/m-p/330675#M492418</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;I need to make a summary table that calcalate the 3 months average with mulitple diminsions in straight table is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 539px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl24" height="17" width="112"&gt;Date&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none;" width="112"&gt;Region&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none;" width="64"&gt;A&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none;" width="88"&gt;3 Month Avg(A)&lt;/TD&gt;&lt;TD class="xl25" style="border-left: medium none;" width="163"&gt;(Explaination)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: medium none;" width="112"&gt;2011/11&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="112"&gt;A&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="64"&gt;217.9&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="88"&gt;72.6&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="163"&gt;(0 + 0 + 217.9)/3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: medium none;" width="112"&gt;2011/12&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="112"&gt;A&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="64"&gt;275.6&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="88"&gt;164.5&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="163"&gt;(0 +217.9 + 275.6)/3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="20" style="border-top: medium none;" width="112"&gt;2012/01&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="112"&gt;A&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="64"&gt;457.8&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="88"&gt;317.1&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="163"&gt;(217.9 + 275.6 + 457.8)/3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: medium none;" width="112"&gt;2012/02&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="112"&gt;A&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="64"&gt;456.1&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="88"&gt;396.5&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="163"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: medium none;" width="112"&gt;2012/03&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="112"&gt;A&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="64"&gt;477.1&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="88"&gt;463.7&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="163"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: medium none;" width="112"&gt;2012/04&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="112"&gt;A&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="64"&gt;357.7&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="88"&gt;430.3&lt;/TD&gt;&lt;TD class="xl27" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: medium none;" width="112"&gt;2012/05&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="112"&gt;A&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="88"&gt;278.3&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="163"&gt;( 477.1 + 357.7 + 0)/3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: medium none;" width="112"&gt;2012/06&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="112"&gt;A&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="88"&gt;119.2&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="163"&gt;( 357.7 + 0 + 0)/3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the Date, Region and A and I need to calculate the average of A (3 Month Avg(A)). I have make a explaination column in the above example to make it clear what i want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As it is multiple dimensions, I cannot use rangesum &amp;amp; above and i tried to use aggr but no joy. Also, by input a int, it can calculate any month avg, so..I cannot hard code the formula just calculate 3 months..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please kindly help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2012 07:00:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-03T07:00:01Z</dc:date>
    <item>
      <title>n Month average with multiple dimensions in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/n-Month-average-with-multiple-dimensions-in-straight-table/m-p/330675#M492418</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;I need to make a summary table that calcalate the 3 months average with mulitple diminsions in straight table is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 539px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl24" height="17" width="112"&gt;Date&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none;" width="112"&gt;Region&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none;" width="64"&gt;A&lt;/TD&gt;&lt;TD class="xl24" style="border-left: medium none;" width="88"&gt;3 Month Avg(A)&lt;/TD&gt;&lt;TD class="xl25" style="border-left: medium none;" width="163"&gt;(Explaination)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: medium none;" width="112"&gt;2011/11&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="112"&gt;A&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="64"&gt;217.9&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="88"&gt;72.6&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="163"&gt;(0 + 0 + 217.9)/3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: medium none;" width="112"&gt;2011/12&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="112"&gt;A&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="64"&gt;275.6&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="88"&gt;164.5&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="163"&gt;(0 +217.9 + 275.6)/3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="20" style="border-top: medium none;" width="112"&gt;2012/01&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="112"&gt;A&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="64"&gt;457.8&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="88"&gt;317.1&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="163"&gt;(217.9 + 275.6 + 457.8)/3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: medium none;" width="112"&gt;2012/02&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="112"&gt;A&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="64"&gt;456.1&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="88"&gt;396.5&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="163"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: medium none;" width="112"&gt;2012/03&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="112"&gt;A&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="64"&gt;477.1&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="88"&gt;463.7&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="163"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: medium none;" width="112"&gt;2012/04&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="112"&gt;A&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="64"&gt;357.7&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="88"&gt;430.3&lt;/TD&gt;&lt;TD class="xl27" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: medium none;" width="112"&gt;2012/05&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="112"&gt;A&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="88"&gt;278.3&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="163"&gt;( 477.1 + 357.7 + 0)/3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl26" height="17" style="border-top: medium none;" width="112"&gt;2012/06&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="112"&gt;A&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="64"&gt;0&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="88"&gt;119.2&lt;/TD&gt;&lt;TD class="xl26" style="border-left: medium none; border-top: medium none;" width="163"&gt;( 357.7 + 0 + 0)/3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the Date, Region and A and I need to calculate the average of A (3 Month Avg(A)). I have make a explaination column in the above example to make it clear what i want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As it is multiple dimensions, I cannot use rangesum &amp;amp; above and i tried to use aggr but no joy. Also, by input a int, it can calculate any month avg, so..I cannot hard code the formula just calculate 3 months..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please kindly help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/n-Month-average-with-multiple-dimensions-in-straight-table/m-p/330675#M492418</guid>
      <dc:creator />
      <dc:date>2012-07-03T07:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: n Month average with multiple dimensions in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/n-Month-average-with-multiple-dimensions-in-straight-table/m-p/330676#M492419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm in the train so can't test this now but I can't see why RangeSum() and Above() won't work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(Above(Sum(A),0,vSteps)/vSteps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where vSteps is your input variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/n-Month-average-with-multiple-dimensions-in-straight-table/m-p/330676#M492419</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-07-03T07:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: n Month average with multiple dimensions in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/n-Month-average-with-multiple-dimensions-in-straight-table/m-p/330677#M492420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Missed off a parenthesis...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(Above(Sum(A),0,vSteps))/vSteps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:54:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/n-Month-average-with-multiple-dimensions-in-straight-table/m-p/330677#M492420</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-07-03T07:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: n Month average with multiple dimensions in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/n-Month-average-with-multiple-dimensions-in-straight-table/m-p/330678#M492421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(above(TOTAL Sum(A),0,3)) / 3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 08:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/n-Month-average-with-multiple-dimensions-in-straight-table/m-p/330678#M492421</guid>
      <dc:creator />
      <dc:date>2012-07-03T08:42:29Z</dc:date>
    </item>
  </channel>
</rss>

