<?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: Accumulative sum per year in Line chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1552993#M39953</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I think you have the expression slightly wrong.&lt;/P&gt;
&lt;P&gt;Try and put it as follows in your line chart:&lt;/P&gt;
&lt;PRE&gt;rangesum(above( sum(Revenue), 0, rowno() ))&lt;/PRE&gt;
&lt;P&gt;I've created a small inline table with your 2016 data and it seems to add up correctly. Please note that I haven't attached it to a proper date field, so month 4 (which is not included into your data set for 2016) is not shown in the chart.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;Best regars,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2019 13:46:37 GMT</pubDate>
    <dc:creator>dlm</dc:creator>
    <dc:date>2019-03-06T13:46:37Z</dc:date>
    <item>
      <title>Accumulative sum per year in Line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1552950#M39950</link>
      <description>&lt;P&gt;Dear community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have searched in I think almost every rangesum qeastion the past few days but I could not find a solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want an accumulative sum per year in a line graph,with month as horizontal dimension. The expression I use now is :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RangeSum(Above(total Sum( Omzet), 0, RowNo(total)))&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I want that every line starts at&amp;nbsp; 0 and ends on the total revenue of that year.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below the data&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Example.png" style="width: 585px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/7371i821D45CBA8422BD2/image-dimensions/585x518?v=v2" width="585" height="518" role="button" title="Example.png" alt="Example.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Klaas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 20:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1552950#M39950</guid>
      <dc:creator>klbos</dc:creator>
      <dc:date>2021-12-22T20:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative sum per year in Line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1552978#M39951</link>
      <description>Hi, Is this for QlikView or Sense?  I would like to move it into the correct product forum for more attention. This forum is typically for general discussion.</description>
      <pubDate>Wed, 06 Mar 2019 13:28:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1552978#M39951</guid>
      <dc:creator>Sue_Macaluso</dc:creator>
      <dc:date>2019-03-06T13:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative sum per year in Line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1552981#M39952</link>
      <description>&lt;P&gt;Hi Sue,&lt;/P&gt;&lt;P&gt;This is for Sense.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 13:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1552981#M39952</guid>
      <dc:creator>klbos</dc:creator>
      <dc:date>2019-03-06T13:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative sum per year in Line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1552993#M39953</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I think you have the expression slightly wrong.&lt;/P&gt;
&lt;P&gt;Try and put it as follows in your line chart:&lt;/P&gt;
&lt;PRE&gt;rangesum(above( sum(Revenue), 0, rowno() ))&lt;/PRE&gt;
&lt;P&gt;I've created a small inline table with your 2016 data and it seems to add up correctly. Please note that I haven't attached it to a proper date field, so month 4 (which is not included into your data set for 2016) is not shown in the chart.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;Best regars,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 13:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1552993#M39953</guid>
      <dc:creator>dlm</dc:creator>
      <dc:date>2019-03-06T13:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative sum per year in Line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1553003#M39954</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for your response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already tried that expression but it is not working if I have &lt;EM&gt;year&lt;/EM&gt; as second dimension (several years)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="response.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/7377i91A59B60899C4B2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="response.png" alt="response.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 14:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1553003#M39954</guid>
      <dc:creator>klbos</dc:creator>
      <dc:date>2019-03-06T14:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative sum per year in Line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1553012#M39955</link>
      <description>&lt;P&gt;Ah, yes you're right.&lt;/P&gt;
&lt;P&gt;what about if you try the following:&lt;/P&gt;
&lt;PRE&gt;(Aggr(RangeSum(Above(Sum(Revenue), 0, RowNo())), BookingYear, BookingMonth))&lt;/PRE&gt;
&lt;P&gt;Seems to work in my example attached.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 14:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1553012#M39955</guid>
      <dc:creator>dlm</dc:creator>
      <dc:date>2019-03-06T14:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative sum per year in Line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1553024#M39956</link>
      <description>&lt;P&gt;Dear DLM,&lt;/P&gt;&lt;P&gt;For some reason that works with the inline table but not with my whole dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Answer 2.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/7379iA1340105A3ADC16A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Answer 2.png" alt="Answer 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 14:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1553024#M39956</guid>
      <dc:creator>klbos</dc:creator>
      <dc:date>2019-03-06T14:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative sum per year in Line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1553026#M39957</link>
      <description>Are the fieldnames in the ‘inline table’ exactly the same as in your data model?&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Mar 2019 14:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1553026#M39957</guid>
      <dc:creator>dlm</dc:creator>
      <dc:date>2019-03-06T14:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative sum per year in Line chart</title>
      <link>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1554093#M39958</link>
      <description>&lt;P&gt;Jup! Are exactly the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can solve it with several measures with Set analysis on the year field, but than it's not possible to select years.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 10:34:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Accumulative-sum-per-year-in-Line-chart/m-p/1554093#M39958</guid>
      <dc:creator>klbos</dc:creator>
      <dc:date>2019-03-08T10:34:15Z</dc:date>
    </item>
  </channel>
</rss>

