<?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 till current month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulative-sum-till-current-month/m-p/1256145#M855056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add an if()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Month &amp;lt;= Month(today()) , &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;rangesum(above(Sum({&amp;lt;Year={$(=max(Year))}&amp;gt;}Amount),0,rowno()))&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Feb 2017 12:47:24 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2017-02-12T12:47:24Z</dc:date>
    <item>
      <title>Accumulative sum till current month</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-sum-till-current-month/m-p/1256144#M855055</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'm having some trouble figuring the following out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a accumulation per month of sum(amount) for the current year and previous year. But my line chart for the current year should stop at the current month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used the following formula for the calculation of the accumulation: &lt;/P&gt;&lt;P&gt;rangesum(above(Sum({&amp;lt;Year={$(=max(Year))}&amp;gt;}Amount),0,rowno()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calculation works just fine. See the results in the table below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table.png" class="jive-image image-1" height="248" src="https://community.qlik.com/legacyfs/online/152839_Table.png" style="height: 248.179px; width: 271px; float: none;" width="271" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a result my linechart looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Linechart.png" class="jive-image image-2" height="127" src="https://community.qlik.com/legacyfs/online/152849_Linechart.png" style="height: 127.445px; width: 476px;" width="476" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my client wants the Amount CY line to stop at month 02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to get this done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-sum-till-current-month/m-p/1256144#M855055</guid>
      <dc:creator>tcarolus</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative sum till current month</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-sum-till-current-month/m-p/1256145#M855056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add an if()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Month &amp;lt;= Month(today()) , &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;rangesum(above(Sum({&amp;lt;Year={$(=max(Year))}&amp;gt;}Amount),0,rowno()))&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Feb 2017 12:47:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-sum-till-current-month/m-p/1256145#M855056</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-12T12:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative sum till current month</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-sum-till-current-month/m-p/1256146#M855057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or give this a try&lt;/P&gt;&lt;P&gt;&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;=rangesum(above(Sum({&amp;lt;Year={$(=max(Year))} , Month = {"&amp;lt;=$(=Month(Today()))"}&amp;gt;}Amount),0,rowno()))&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Feb 2017 12:49:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-sum-till-current-month/m-p/1256146#M855057</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-12T12:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulative sum till current month</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulative-sum-till-current-month/m-p/1256147#M855058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Vineeth!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried several things but I must have missed this one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Feb 2017 23:45:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulative-sum-till-current-month/m-p/1256147#M855058</guid>
      <dc:creator>tcarolus</dc:creator>
      <dc:date>2017-02-12T23:45:32Z</dc:date>
    </item>
  </channel>
</rss>

