<?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: Set analysis for cumulative sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-sum/m-p/950080#M980340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try sum({&amp;lt;Date={"&amp;lt;=$(=max(Date))"}&amp;gt;}aggr(rangesum(above(sum({&amp;lt;Date=&amp;gt;}Amount),0,rowno())),Date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2015 08:04:16 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-08-19T08:04:16Z</dc:date>
    <item>
      <title>Set analysis for cumulative sum</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-sum/m-p/950076#M980332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider the following tables:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="96402" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96402_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I am looking for a correct set analysis to sum up the amount spent by the progress date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say on 10-01-14 the amount spent should be the sum of expenditure starting 09-01-14. While the amount spent on 02-04-2014 should be the summation of expenditure before and until 02-04-14 (which is 09-01-14 + 02-04-14).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody show me the correct way to express this using set analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your kind attention guys. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 07:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-sum/m-p/950076#M980332</guid>
      <dc:creator />
      <dc:date>2015-08-19T07:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for cumulative sum</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-sum/m-p/950077#M980335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try sum(aggr(rangesum(above(sum({&amp;lt;Date=&amp;gt;}Amount),0,rowno())),Date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 07:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-sum/m-p/950077#M980335</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-08-19T07:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for cumulative sum</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-sum/m-p/950078#M980338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your kind attention. Got the amount displayed correctly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 07:44:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-sum/m-p/950078#M980338</guid>
      <dc:creator />
      <dc:date>2015-08-19T07:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for cumulative sum</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-sum/m-p/950079#M980339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry to disturb you again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set analysis is correct if Progress Date not selected.. but say I select Progress Date 21-05-14 the number should show the summation of previous expenditure of date from 09-01-14 till 21-05-14 but it only show the expenditure for date 21-05-14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you suggest a way to rectify this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 07:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-sum/m-p/950079#M980339</guid>
      <dc:creator />
      <dc:date>2015-08-19T07:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for cumulative sum</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-sum/m-p/950080#M980340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try sum({&amp;lt;Date={"&amp;lt;=$(=max(Date))"}&amp;gt;}aggr(rangesum(above(sum({&amp;lt;Date=&amp;gt;}Amount),0,rowno())),Date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 08:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-sum/m-p/950080#M980340</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-08-19T08:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for cumulative sum</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-sum/m-p/950081#M980341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your kind attention but it seems to be the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is the qvw file for your kind review.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 08:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-sum/m-p/950081#M980341</guid>
      <dc:creator />
      <dc:date>2015-08-19T08:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for cumulative sum</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-sum/m-p/950082#M980342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you start using another date dimension then you need to change the expression to reflect that change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 08:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-cumulative-sum/m-p/950082#M980342</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-08-19T08:57:01Z</dc:date>
    </item>
  </channel>
</rss>

