<?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: Rolling Sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-Sum/m-p/1512286#M600842</link>
    <description>&lt;P&gt;Yeah, I read that which lead me to try this:&lt;/P&gt;&lt;PRE&gt;RangeSum(Above(Sum({&amp;lt;MonthYear&amp;gt;}TTF_13),0,12))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;...but it's not working as expected.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Nov 2018 13:49:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-26T13:49:07Z</dc:date>
    <item>
      <title>Rolling Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Sum/m-p/1510549#M600834</link>
      <description>&lt;P&gt;I have a table with two columns.&amp;nbsp; They are MONTHYEAR (dimension) and a measure, which is really a variable, called TTF_13.&amp;nbsp; I'm trying to add a third column which will be a 12-month sum for each row.&amp;nbsp; It is not a rolling sum only of what is displaying in the table, it should be the sum of the prior 12 months up until the month pertaining to the current row.&amp;nbsp; I've tried both of these approaches but am having no success:&lt;/P&gt;&lt;PRE&gt;RangeSum(Above(Sum({&amp;lt;MonthYear&amp;gt;}TTF_13),0,12))&lt;/PRE&gt;&lt;P&gt;and&lt;/P&gt;&lt;PRE&gt;Sum({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -12)))&amp;lt;=$(=Date(Max(MonthYear)))"}&amp;gt;}TTF_13)&lt;/PRE&gt;&lt;P&gt;In each case, only zeroes are displaying.&amp;nbsp; Any ideas on what I'm doing wrong?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Note&lt;/U&gt;&lt;/STRONG&gt;: This is actually a chart object where the chart type is a straight table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thank you so much for your time!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 16:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Sum/m-p/1510549#M600834</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-21T16:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Sum/m-p/1511906#M600835</link>
      <description>&lt;P&gt;Perhaps this documents helps:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-Documents/Calculating-rolling-n-period-totals-averages-or-other/ta-p/1483033" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Documents/Calculating-rolling-n-period-totals-averages-or-other/ta-p/1483033&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Nov 2018 16:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Sum/m-p/1511906#M600835</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-11-25T16:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Sum/m-p/1511990#M600839</link>
      <description>&lt;P&gt;HI,&lt;BR /&gt;It depends on the variable value, if it is straight field then can use below Expression&lt;BR /&gt;RangeSum(Above(Sum({&amp;lt;MonthYear&amp;gt;} &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;$(&lt;/STRONG&gt;&lt;FONT color="#808080"&gt;TTF_13&lt;/FONT&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/FONT&gt;),0,12))&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 06:33:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Sum/m-p/1511990#M600839</guid>
      <dc:creator>BI</dc:creator>
      <dc:date>2018-11-26T06:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Sum/m-p/1512283#M600841</link>
      <description>&lt;P&gt;Thanks for the suggestion.&amp;nbsp; Your suggestion&amp;nbsp;simply results in a dash being displayed for each row.&amp;nbsp; However, if I do this:&lt;/P&gt;&lt;PRE&gt;RangeSum(Above(Sum({&amp;lt;MonthYear&amp;gt;} TTF_13),0,12))&lt;/PRE&gt;&lt;P&gt;...it results in zeroes.&amp;nbsp; Any other thoughts?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 13:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Sum/m-p/1512283#M600841</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-26T13:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Sum/m-p/1512286#M600842</link>
      <description>&lt;P&gt;Yeah, I read that which lead me to try this:&lt;/P&gt;&lt;PRE&gt;RangeSum(Above(Sum({&amp;lt;MonthYear&amp;gt;}TTF_13),0,12))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;...but it's not working as expected.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 13:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Sum/m-p/1512286#M600842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-26T13:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Sum/m-p/1512432#M600843</link>
      <description>&lt;P&gt;As I explained in the document I linked to the rangesum(above(...)...) construction can only calculate with the data shown in your chart/table. You want to calculate using data that's not shown in the table as well. And therefore you need to use one of the other two options. The sum(aggr(rangesum(above(...)...), MonthYear)) variant or the As-Of table.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 17:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Sum/m-p/1512432#M600843</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-11-26T17:32:29Z</dc:date>
    </item>
  </channel>
</rss>

