<?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: help with aggr function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help-with-aggr-function/m-p/383626#M572624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both solutions has a small drawback.&lt;/P&gt;&lt;P&gt; To show correct number for a quarter all months from the quarter shoud present in the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2012 15:58:59 GMT</pubDate>
    <dc:creator>whiteline</dc:creator>
    <dc:date>2012-09-04T15:58:59Z</dc:date>
    <item>
      <title>help with aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-aggr-function/m-p/383623#M572621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a staright table with 'month year'&lt;IMG __jive_id="21271" class="jive-image-thumbnail jive-image" height="57" onclick="" alt="sales.png" src="https://community.qlik.com/legacyfs/online/21271_sales.png" style="width: 907px; height: 57.231824417009605px;" width="907" /&gt; and sum(sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each monthyear i want to know the corresponding last year quarter sum of sales.I want to add a row beneath which specifies this total.for example underneath may 2011 the value will be sum(sales) for apr 2010+may2010+jun 2010,underneath jun 2011 it will be same and changes for july since its different quarter.Any ideas plz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 02:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-aggr-function/m-p/383623#M572621</guid>
      <dc:creator />
      <dc:date>2012-09-04T02:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: help with aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-aggr-function/m-p/383624#M572622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can calculate accumulation with step 3 with expression:&lt;/P&gt;&lt;P&gt;=rangesum(before(sum(sales)), sum(sales), after(sum(sales)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can add a condition to show it only for those moths:&lt;/P&gt;&lt;P&gt;=if(&lt;STRONG&gt;Mod(Month(MonthYear)-1, 3)=1&lt;/STRONG&gt;, rangesum(before(sum(sales)), sum(sales), after(sum(sales))), null())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 04:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-aggr-function/m-p/383624#M572622</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-04T04:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: help with aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-aggr-function/m-p/383625#M572623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.My final expression was&lt;/P&gt;&lt;P&gt; Rangesum(Before([Sales],10+Mod(Month(MonthYear)-1, 3),3))&lt;/P&gt;&lt;P&gt;this works for every monthyear&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 15:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-aggr-function/m-p/383625#M572623</guid>
      <dc:creator />
      <dc:date>2012-09-04T15:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: help with aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-aggr-function/m-p/383626#M572624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both solutions has a small drawback.&lt;/P&gt;&lt;P&gt; To show correct number for a quarter all months from the quarter shoud present in the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 15:58:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-aggr-function/m-p/383626#M572624</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-04T15:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: help with aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-aggr-function/m-p/383627#M572625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have added zero values for each and every combination of master link table in event link and calendar link to over come the problem of some months missing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Feb 2013 19:58:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-aggr-function/m-p/383627#M572625</guid>
      <dc:creator />
      <dc:date>2013-02-10T19:58:16Z</dc:date>
    </item>
  </channel>
</rss>

