<?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: cumulative aggregation over months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366995#M418254</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If this has worked for your other expressions&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;monthstart={"&amp;gt;= $(=num((Max(AddMonths(MonthStart((&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;month&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;)),-11))))) &amp;lt;=$(=num(Max((MonthStart((month)))))) ")&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then this should work also.... or share a sample&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeSum(Above(Sum({&amp;lt;Month=, monthstart&amp;gt;} amount), 0, 3)) * Avg({&amp;lt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;monthstart={"&amp;gt;= $(=num((Max(AddMonths(MonthStart((&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)),-11))))) &amp;lt;=$(=num(Max((MonthStart((month))))))"}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;gt;} 1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Apr 2017 08:38:07 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-04-10T08:38:07Z</dc:date>
    <item>
      <title>cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366987#M418246</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 the show the cumulative sums of last 3 months over last 12 months. &lt;/P&gt;&lt;P&gt;For example, iIf I select July 2016, I need to plot the sum(last 3 months may, June, July) of each month over a period of 12 months (Like we did for July.) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope am clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the month as dimension and using set analysis get the sum() of 3 months using &lt;/P&gt;&lt;P&gt;sum(aggr(rangesum(above(total sum({&amp;lt;Month=&amp;gt;}amount),0,3)),&lt;SPAN style="font-size: 13.3333px;"&gt;Month&lt;/SPAN&gt;)),&lt;/P&gt;&lt;P&gt;and then trying to do set analysis something like (monthstart={"&amp;gt;= $(=num((Max(AddMonths(MonthStart((&lt;SPAN style="font-size: 13.3333px;"&gt;month&lt;/SPAN&gt;)),-11))))) &amp;lt;=$(=num(Max((MonthStart((month)))))) "). But its give allocated memory exceeded error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Apr 2017 05:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366987#M418246</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-09T05:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366988#M418247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And I can't keep the sum of last 3 months to be calculated in the script as I need to keep it dynamic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Apr 2017 05:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366988#M418247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-09T05:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366989#M418248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would recommend using an as of table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Apr 2017 09:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366989#M418248</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-04-09T09:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366990#M418249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So do i need to get the 3 months aggregate using sum({&amp;lt;monthdiff="&amp;lt;3"&amp;gt;}value) and then use this in the set analysis??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Apr 2017 10:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366990#M418249</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-09T10:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366991#M418250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you doing this where MonthYear is your dimension... You might be able to do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;RangeSum(Above(Sum({&amp;lt;Month=, monthstart&amp;gt;} amount), 0, 3)) * Avg({&amp;lt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;monthstart = {"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Max(monthstart), -11), 'MMM-YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(monthstart), 'MMM-YYYY'))"}&amp;gt;} 1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Apr 2017 12:58:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366991#M418250</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-09T12:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366992#M418251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, Am using month num as dimension and already has 3 other expressions plotted over &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Avg({&amp;lt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;monthstart = {"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Max(monthstart), -11), 'MMM-YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(monthstart), 'MMM-YYYY'))"}&amp;gt;} 1). Giving 12 months . There is a month selected in the filter. Your expression is getting value only for selected month .&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Apr 2017 13:05:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366992#M418251</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-09T13:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366993#M418252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share one of the three expressions (or may be all three) which are working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Apr 2017 13:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366993#M418252</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-09T13:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366994#M418253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 3 more normal expressions showing data for last 12 months from a selected month. I used month year as dimension and used set analysis like &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(monthstart={"&amp;gt;= $(=num((Max(AddMonths(MonthStart((&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)),-11))))) &amp;lt;=$(=num(Max((MonthStart((month)))))) ")&lt;/SPAN&gt; for these 3 expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need to show the 3 months aggregated value in the same chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 08:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366994#M418253</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-10T08:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366995#M418254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If this has worked for your other expressions&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;monthstart={"&amp;gt;= $(=num((Max(AddMonths(MonthStart((&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;month&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;)),-11))))) &amp;lt;=$(=num(Max((MonthStart((month)))))) ")&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then this should work also.... or share a sample&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeSum(Above(Sum({&amp;lt;Month=, monthstart&amp;gt;} amount), 0, 3)) * Avg({&amp;lt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;monthstart={"&amp;gt;= $(=num((Max(AddMonths(MonthStart((&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)),-11))))) &amp;lt;=$(=num(Max((MonthStart((month))))))"}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;gt;} 1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 08:38:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366995#M418254</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-10T08:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366996#M418255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;Sunny, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;If we don't keep the filter on month start in Rangesum() part its taking all the month into consideration.&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Year=, Month=, Quarter=,Day=,&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;monthstart={"&amp;gt;= $(=num((Max(AddMonths(MonthStart((&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;month&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;)),-11))))) &amp;lt;=$(=num(Max((MonthStart((month)))))) ") &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;is the complete set am using. (If it makes any difference)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;Please let me&amp;nbsp; know if am missing anything&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 09:57:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366996#M418255</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-10T09:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366997#M418256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;If we don't keep the filter on month start in Rangesum() part its taking all the month into consideration.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes that is what we want.... we want to ignore selections so that RangeSum can show you 3 month Sum for all the dates....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeSum(Above(Sum({&amp;lt;Month=, monthstart&amp;gt;} amount), 0, 3))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will always show everything regardless of your selection in Month of monthstart field....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Avg({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;monthstart={"&amp;gt;= $(=num((Max(AddMonths(MonthStart((&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;)),-11))))) &amp;lt;=$(=num(Max((MonthStart((month))))))"}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;gt;} 1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will only show 1 when your are within the 12 month from the month or date selected and will be 0 for all other periods. So, for the 12 months you want to see, you will have this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeSum(Above(Sum({&amp;lt;Month=, monthstart&amp;gt;} amount), 0, 3)) * 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For all other months, you will get this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeSum(Above(Sum({&amp;lt;Month=, monthstart&amp;gt;} amount), 0, 3)) * 0 = 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help? If it still doesn,t help, then I would suggest you to provide a sample and the expected output&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-16454"&gt;Uploading a Sample&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 11:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366997#M418256</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-10T11:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366998#M418257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, Expression is working fine and giving correct values. But It's not just displaying the 12 months. It's &lt;SPAN style="font-size: 13.3333px;"&gt;displaying from the first month onwards with 0 as values. I checked suppress zero values and suppress missing values too. But &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;still am getting zeros.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159604_Capture.PNG" style="height: auto;" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 11:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366998#M418257</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-10T11:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366999#M418258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That might be issue with QlikView version then... what version are you using? Can you upgrade?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 11:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1366999#M418258</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-10T11:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1367000#M418259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlikview 11.20 SR13. I won't be able to upgrade. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;.Isn't there any way to implement this in the specified version??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 11:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1367000#M418259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-10T11:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1367001#M418260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be with calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(MonthYear &amp;gt;= AddMonths(Max(TOTAL MonthYear), -12) and MonthYear &amp;lt;= Max(TOTAL MonthYear), MonthYear)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeSum(Above(Sum({&amp;lt;Month=, monthstart&amp;gt;} amount), 0, 3))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 11:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1367001#M418260</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-10T11:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1367002#M418261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;It doesn't consider the values of the months before 12 months. Averages of 10th and 11 months from the selected month are incorrect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 12:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1367002#M418261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-10T12:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1367003#M418262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you mock up some data for me and show me the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 12:11:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1367003#M418262</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-10T12:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1367004#M418263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 12:26:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1367004#M418263</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-10T12:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative aggregation over months</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1367005#M418264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shiva -&amp;nbsp; I am going to have a tough time helping you brother... Do you have Month field or MonthYear field? AddMonths to a Month field &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159617_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fixing the dimension, and a slight change to the expression seems to be working (but will give you issues if you MonthYears are not sorted correctly)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/159619_Capture.PNG" style="height: 172px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 12:34:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-aggregation-over-months/m-p/1367005#M418264</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-10T12:34:19Z</dc:date>
    </item>
  </channel>
</rss>

