<?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: Accumulation in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456109#M794656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this using Above func.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer attached app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Dec 2017 06:16:15 GMT</pubDate>
    <dc:creator>shiveshsingh</dc:creator>
    <dc:date>2017-12-29T06:16:15Z</dc:date>
    <item>
      <title>Accumulation in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456096#M794643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, I have data as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt; [&lt;/P&gt;&lt;P&gt;Monthyear, Empid&lt;/P&gt;&lt;P&gt;Jan-2016, a1&lt;/P&gt;&lt;P&gt;Jan-2016, b1&lt;/P&gt;&lt;P&gt;Jan-2016, c1&lt;/P&gt;&lt;P&gt;Feb-2016, a1&lt;/P&gt;&lt;P&gt;Feb-2016, b1&lt;/P&gt;&lt;P&gt;Feb-2016, c1&lt;/P&gt;&lt;P&gt;Mar-2016, a1&lt;/P&gt;&lt;P&gt;Mar-2016,b1&lt;/P&gt;&lt;P&gt;Mar-2016, d1&lt;/P&gt;&lt;P&gt;Mar-2016, e1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to calculated the accumulated employee count Monthyear wise. I need accumulation in the script as below.&lt;/P&gt;&lt;P&gt;No of employees in jan is 3&lt;/P&gt;&lt;P&gt;No of employees in feb is 3&amp;nbsp; and accumulated count is 6.(jan + feb)&lt;/P&gt;&lt;P&gt;No of employees in mar is 4 and accumulated count is 10 (jan + feb + mar)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expected output&lt;/P&gt;&lt;P&gt;New field&lt;/P&gt;&lt;P&gt;jan 3&lt;/P&gt;&lt;P&gt;feb 6&lt;/P&gt;&lt;P&gt;mar 10&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/Accumulation-in-Script/m-p/1456096#M794643</guid>
      <dc:creator>rajinikanth</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456097#M794644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try the below working script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;Date#(Monthyear,'MMM-YYYY') as MONTHYEAR&lt;/P&gt;&lt;P&gt;inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Monthyear, Empid&lt;/P&gt;&lt;P&gt;Jan-2016, a1&lt;/P&gt;&lt;P&gt;Jan-2016, b1&lt;/P&gt;&lt;P&gt;Jan-2016, c1&lt;/P&gt;&lt;P&gt;Feb-2016, a1&lt;/P&gt;&lt;P&gt;Feb-2016, b1&lt;/P&gt;&lt;P&gt;Feb-2016, c1&lt;/P&gt;&lt;P&gt;Mar-2016, a1&lt;/P&gt;&lt;P&gt;Mar-2016,b1&lt;/P&gt;&lt;P&gt;Mar-2016, d1&lt;/P&gt;&lt;P&gt;Mar-2016, e1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;MONTHYEAR,&lt;/P&gt;&lt;P&gt;RangeSum(Peek('CountEmp'),Count_Emp) as CountEmp;&lt;/P&gt;&lt;P&gt;LOAD MONTHYEAR,&lt;/P&gt;&lt;P&gt;Count(Empid) as Count_Emp&lt;/P&gt;&lt;P&gt;Resident T1&lt;/P&gt;&lt;P&gt;Group By MONTHYEAR&lt;/P&gt;&lt;P&gt;Order By MONTHYEAR Asc;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 16:51:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456097#M794644</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2017-12-28T16:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456098#M794645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Monthyear, RangeSum(Peek('CountEmp'),Count(Empid)) as CountEmp Resident T1 Group By Monthyear;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 16:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456098#M794645</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-28T16:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456099#M794646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never tried to combine GroupBy with Peek, does it work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 17:09:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456099#M794646</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-28T17:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456100#M794647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I think so. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 17:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456100#M794647</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-28T17:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456101#M794648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool, I am going to try it out. Thanks for showing this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 17:15:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456101#M794648</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-28T17:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456102#M794649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It did work... thanks Anil!! It feels awesome to learn new things &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 17:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456102#M794649</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-28T17:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456103#M794650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please explain the below that how does it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Peek('CountEmp'),Count_Emp) as CountEmp; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 18:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456103#M794650</guid>
      <dc:creator>alis2063</dc:creator>
      <dc:date>2017-12-28T18:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456104#M794651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's just summing the value from row above to the value in the current row to get you accumulated value &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 18:36:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456104#M794651</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-28T18:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456105#M794652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil, Thank you for the solution with your solution i got the output as below,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="474" style="width: 178px; height: 250px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="73"&gt;CountEmp&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="65"&gt;Monthyear&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="39"&gt;Empid&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-01-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;a1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-01-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;b1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-01-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;c1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;6&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-02-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;a1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;6&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-02-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;b1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;6&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-02-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;c1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-03-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;a1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-03-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;b1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-03-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;d1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-03-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;e1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The actual outcome should be as below&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="360" style="width: 386px; height: 289px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="64"&gt;CountEmp&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Monthyear&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Empid&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-01-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;a1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-01-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;b1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-01-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;c1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-02-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;a1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-02-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;b1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-02-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;c1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-03-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;a1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-03-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;b1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-03-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;c1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-03-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;d1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;01-03-2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;e1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;In March&amp;nbsp; a1=3 and b1=3 as its accumulation in feb and jan is 2 and 1&lt;/P&gt;&lt;P&gt;In March d1 and e1 are new so they will have accumulation as 1&lt;/P&gt;&lt;P&gt;In march c1&amp;nbsp; accumulation is 2 &lt;/P&gt;&lt;P&gt;a1+b1+c1+d1+e1&amp;nbsp;&amp;nbsp; = 3+3 +2+1+1 =10&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 18:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456105#M794652</guid>
      <dc:creator>rajinikanth</dc:creator>
      <dc:date>2017-12-28T18:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456106#M794653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you going to have CountEmp Field or you want to implement this calculation in UI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 01:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456106#M794653</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-29T01:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456107#M794654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(Monthyear = Previous(&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;Monthyear&lt;/STRONG&gt;), RangeSum(Peek('Welcome'), Empid), Empid) as Welcome&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 01:34:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456107#M794654</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-29T01:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456108#M794655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you anil but no luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 03:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456108#M794655</guid>
      <dc:creator>rajinikanth</dc:creator>
      <dc:date>2017-12-29T03:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456109#M794656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this using Above func.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer attached app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 06:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456109#M794656</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2017-12-29T06:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456110#M794657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;T1:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD MonthName(Date#(Monthyear, 'MMM-YYYY')) as Monthyear,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; Empid&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Monthyear, Empid&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan-2016, a1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan-2016, b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan-2016, c1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb-2016, a1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb-2016, b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb-2016, c1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar-2016, a1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar-2016, b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar-2016, d1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar-2016, e1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;AggrData:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD Empid,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; Monthyear,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; If(Empid = Previous(Empid), RangeSum(Peek('CountEmp'), 1), 1) as CountEmp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Resident T1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Order By Empid, Monthyear;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;DROP Table T1;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188488_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 17:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456110#M794657</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-29T17:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456111#M794658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;T1:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Load * inline[&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Monthyear, Empid&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jan-2016, a1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jan-2016, b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jan-2016, c1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Feb-2016, a1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Feb-2016, b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Feb-2016, c1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mar-2016, a1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mar-2016,b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mar-2016, d1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mar-2016, e1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;T2:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*,if(Previous(Empid)=Empid,PEEK(COUNTEMP)+1,1) as COUNTEMP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident T1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By Empid Asc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LEFT JOIN(T1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * resident T2&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;order by Monthyear;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;drop table T2;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 17:37:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-Script/m-p/1456111#M794658</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-12-29T17:37:58Z</dc:date>
    </item>
  </channel>
</rss>

