<?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 totals in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849040#M297884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the example attached, above is used to look at previous records. the format for the whole statement is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(above(aggregate(data), to how many rows above 0 = current row, how many rows back to start from which is given by rowno() which takes the accumulation back to the first row))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2015 12:29:01 GMT</pubDate>
    <dc:creator>john_s_w_wood</dc:creator>
    <dc:date>2015-05-26T12:29:01Z</dc:date>
    <item>
      <title>Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849032#M297876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a year field which contains 100years(1915 to 2015) of data. if I select one year like 2013 it has to show the count(Contracts) for 2013,2012,2011,2010(ie last 4years of selected year) in line chart with cumulative totals.(ie 2013 shows sum(contracts ) from 1915 to 2013 and 2012 shows sum(contracts) from 1915 to 2012,...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Anusha K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 09:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849032#M297876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-26T09:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849033#M297877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&amp;nbsp; here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/docs/DOC-4252" title="https://community.qlikview.com/docs/DOC-4252"&gt;https://community.qlikview.com/docs/DOC-4252&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 09:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849033#M297877</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-05-26T09:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849034#M297878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to display selected year and last 3 years of selected year data in line chart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 10:22:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849034#M297878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-26T10:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849035#M297879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here year is a dimension for line chart and count(contracts) is expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 10:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849035#M297879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-26T10:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849036#M297880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anusha, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you attach a sample application after reducing the data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;BKC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 10:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849036#M297880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-26T10:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849037#M297881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was gonna ask the same thing &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 10:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849037#M297881</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-26T10:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849038#M297882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Count({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&amp;gt;$(=max(Year)-3)&amp;lt;=$(=max(Year))'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Contracts&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Greeshma&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 10:33:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849038#M297882</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-26T10:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849039#M297883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the accumulate function on the expression tab doesnt work for you you may nee to use the rangesum,above and rowno functions thus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(above(count(contracts),0,rowno()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this should accumulate for you. Ill send an example shortly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 12:23:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849039#M297883</guid>
      <dc:creator>john_s_w_wood</dc:creator>
      <dc:date>2015-05-26T12:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849040#M297884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the example attached, above is used to look at previous records. the format for the whole statement is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(above(aggregate(data), to how many rows above 0 = current row, how many rows back to start from which is given by rowno() which takes the accumulation back to the first row))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 12:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849040#M297884</guid>
      <dc:creator>john_s_w_wood</dc:creator>
      <dc:date>2015-05-26T12:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849041#M297885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ !Hi Team,&lt;/P&gt;&lt;P&gt;Sorry for my late response.&lt;/P&gt;&lt;P&gt;Please check the below file.In this The expression shows all the years cumulative totals .when i select on year filter it has to show last 3 years cumulative totals data like if i select 2014 it has to show 2014, 2013,2012 with cumulative totals.In line chart like 2014-500,2013-350,2012-220&lt;/P&gt;&lt;P&gt;Please help me to fild solution for this it is an urgent requirement in my project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Anusha k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 09:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849041#M297885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-28T09:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849042#M297886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my application i have 100 years of data so,accumulation function won't work for this.I have to show totals from 1915 to 2015 and 1915 to 2014 and 1915 to 2013 like this in line chart.If i select 2002 it has to show last 4years data in line chart like 2002,2001,2000,1999 with cumulatiive totals like 1915 to 2002 ,1915 to 2001,1915 to 2000 etc..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 09:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849042#M297886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-28T09:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849043#M297887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached. You can create a Cumulative Sales column in the script using peek function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Greeshma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 09:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849043#M297887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-28T09:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849044#M297888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its&amp;nbsp; Excellent&amp;nbsp; greeshma .Exactly meet my requirement. Thank you very much .I've to check this in my application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 10:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849044#M297888</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-28T10:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849045#M297889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greeshma I have checked my application with the solution provided by you, But in my scenario I have to cumulate count of distinct id's.&lt;/P&gt;&lt;P&gt;I have modified your script according to that but it is not giving me the expected results( It is not cumulating the id's).&lt;/P&gt;&lt;P&gt;Can you please look into this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anusha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 11:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849045#M297889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-28T11:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849046#M297890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide some sample data and expected result to work on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 11:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849046#M297890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-28T11:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849047#M297891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Greeshma,&lt;/P&gt;&lt;P&gt;Please find the attached file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 11:46:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849047#M297891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-28T11:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative totals</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849048#M297892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anusha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this what you are looking for? If not, please provide expected output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Greeshma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 12:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-totals/m-p/849048#M297892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-28T12:10:03Z</dc:date>
    </item>
  </channel>
</rss>

