<?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: How to calculate Cumulative total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Cumulative-total/m-p/1151698#M895606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this technique: &lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2016 18:58:55 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2016-08-08T18:58:55Z</dc:date>
    <item>
      <title>How to calculate Cumulative total</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Cumulative-total/m-p/1151697#M895605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached the sample Qvw and the test file and I have to calculate the cumulative total.Can some one please help me here ?&lt;/P&gt;&lt;P&gt;I am having very hard time figuring it out.Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have explained my requirement further in the qvw.&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/How-to-calculate-Cumulative-total/m-p/1151697#M895605</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Cumulative total</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Cumulative-total/m-p/1151698#M895606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this technique: &lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 18:58:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-Cumulative-total/m-p/1151698#M895606</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-08-08T18:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Cumulative total</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Cumulative-total/m-p/1151699#M895607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Expanding your idea in the following example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script added:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LinkTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD DISTINCT MonthYear as ReportYear,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Date(If(AddMonths(MonthStart(YearEnd(MonthYear)), IterNo() - 12) &amp;lt;= MonthYear, AddMonths(MonthStart(YearEnd(MonthYear)), IterNo() - 12)), 'MMM-YY') as MonthYear,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(AddMonths(YearStart(MonthYear), IterNo() - 1) = MonthYear, 1) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident ProjectPipeline&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;While IterNo() &amp;lt;= 12;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133978_Capture.PNG" style="height: 135px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 23:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-Cumulative-total/m-p/1151699#M895607</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-08T23:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Cumulative total</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Cumulative-total/m-p/1151700#M895608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;syou are the best &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌Thanks much,...appreciate your kindness and time !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 01:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-Cumulative-total/m-p/1151700#M895608</guid>
      <dc:creator />
      <dc:date>2016-08-09T01:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Cumulative total</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Cumulative-total/m-p/1151701#M895609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H2&gt;Hi Sunny,&amp;nbsp; &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ &lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this Cumulative total I am havinng an issue as my data file updated and additional months got added including 2017 months..so Total cumuulative is only adding up until Dec 16 .I want that to add on until all the existing months.How can I do that ?Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the sample file and the QVW.THANKS MUCH again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 02:01:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-Cumulative-total/m-p/1151701#M895609</guid>
      <dc:creator />
      <dc:date>2016-08-10T02:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Cumulative total</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Cumulative-total/m-p/1151702#M895610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ sorry to bother you.Any help is appreciated.Thanks much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 02:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-Cumulative-total/m-p/1151702#M895610</guid>
      <dc:creator />
      <dc:date>2016-08-10T02:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Cumulative total</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Cumulative-total/m-p/1151703#M895611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ProjectPipeline:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Area, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PPRegion,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Market, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date#(Trim(SubField(Header, Chr(10), 1)), 'MMM-YY'), 'MMM-YY') as MonthYear,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Header as Header2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(Header, Chr(10), 2) as Header,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Left Join (ProjectPipeline)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;LOAD Min(MonthYear) as Min_MonthYear&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Resident ProjectPipeline;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LinkTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD DISTINCT MonthYear as ReportYear,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;Date(AddMonths(MonthYear, IterNo() - ((Year(MonthYear) * 12 + Month(MonthYear)) - (Year(Min_MonthYear) * 12 + Month(Min_MonthYear)))), 'MMM-YY') as MonthYear,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;&amp;nbsp; If(AddMonths(MonthYear, IterNo() - ((Year(MonthYear) * 12 + Month(MonthYear)) - (Year(Min_MonthYear) * 12 + Month(Min_MonthYear)))) = MonthYear, 1) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident ProjectPipeline&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;While IterNo() &amp;lt;= ((Year(MonthYear) * 12 + Month(MonthYear)) - (Year(Min_MonthYear) * 12 + Month(Min_MonthYear)));&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 07:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-Cumulative-total/m-p/1151703#M895611</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-10T07:59:13Z</dc:date>
    </item>
  </channel>
</rss>

