<?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: Accumulate sum Scripts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulate-sum-Scripts/m-p/56846#M783755</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solution attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2018 20:18:19 GMT</pubDate>
    <dc:creator>shilpan</dc:creator>
    <dc:date>2018-03-06T20:18:19Z</dc:date>
    <item>
      <title>Accumulate sum Scripts</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-sum-Scripts/m-p/56845#M783754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I want to get the result that if there are accumulated flag_donated with 1,&amp;nbsp; and I will create another column named tenure to add them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, for 200708, there is a flag_donated with value 1, so the tenure value will be 1, and for 200709 with the flag value 1, the tenure value will be (1+1=2). And for 200711, there is a flag_donated with value 1, but the tenure will be 1, for 200712, the tenure will be 2. If the YearMonth is accumulated, the tenure will add 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I write the scripts on the data model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture-1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/195433_Capture-1.JPG" style="height: auto;" /&gt;&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/Accumulate-sum-Scripts/m-p/56845#M783754</guid>
      <dc:creator>carol_wu</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate sum Scripts</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-sum-Scripts/m-p/56846#M783755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solution attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 20:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-sum-Scripts/m-p/56846#M783755</guid>
      <dc:creator>shilpan</dc:creator>
      <dc:date>2018-03-06T20:18:19Z</dc:date>
    </item>
  </channel>
</rss>

