<?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 calculation in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulate-calculation-in-load-script/m-p/1444028#M801537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is very nice. the T2 is correct, as they are different companies. so I just need to modify your code to left join with one more dimension. &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, 23 Nov 2017 05:03:41 GMT</pubDate>
    <dc:creator>ronaldwang</dc:creator>
    <dc:date>2017-11-23T05:03:41Z</dc:date>
    <item>
      <title>Accumulate calculation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-calculation-in-load-script/m-p/1444026#M801535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;SPAN style="color: #323e4f; font-family: 'Verdana','sans-serif'; font-size: 10pt; mso-themecolor: text2; mso-themeshade: 191;"&gt;I have a table as in T1 and I have loaded the data in such order already, eg, sorted by first column then second column. Now I want to use column 3 to get a calculated column 4 where column is accumulated sum of column 3(base on condition in column1&amp;amp;2). And the result is as in T2. Can anyone share some thought on this . thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&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-calculation-in-load-script/m-p/1444026#M801535</guid>
      <dc:creator>ronaldwang</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate calculation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-calculation-in-load-script/m-p/1444027#M801536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronal&lt;/P&gt;&lt;P&gt;I figured it out ,plz check my test file attached.&lt;/P&gt;&lt;P&gt;plz notice that there might be something wrong with your "T2" , accumulation break here&lt;/P&gt;&lt;P&gt;&lt;IMG alt="微信截图_20171123124521.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/184294_微信截图_20171123124521.png" style="width: 620px; height: 600px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 04:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-calculation-in-load-script/m-p/1444027#M801536</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-11-23T04:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate calculation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-calculation-in-load-script/m-p/1444028#M801537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is very nice. the T2 is correct, as they are different companies. so I just need to modify your code to left join with one more dimension. &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, 23 Nov 2017 05:03:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-calculation-in-load-script/m-p/1444028#M801537</guid>
      <dc:creator>ronaldwang</dc:creator>
      <dc:date>2017-11-23T05:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate calculation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-calculation-in-load-script/m-p/1444029#M801538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aha ,sounds great &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, 23 Nov 2017 05:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-calculation-in-load-script/m-p/1444029#M801538</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-11-23T05:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate calculation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-calculation-in-load-script/m-p/1444030#M801539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave, the script works well while there is only single company, but won't work while the number of companies increase. any thought?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 06:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-calculation-in-load-script/m-p/1444030#M801539</guid>
      <dc:creator>ronaldwang</dc:creator>
      <dc:date>2017-11-23T06:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate calculation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-calculation-in-load-script/m-p/1444031#M801540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then we need to change the code into this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;BR /&gt;LOAD RowNo() as ID,&lt;BR /&gt;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;Company&lt;/SPAN&gt;,&lt;BR /&gt;&amp;nbsp; Date,&lt;BR /&gt;&amp;nbsp; Dividend_Paid&lt;BR /&gt;FROM&lt;BR /&gt;T1.xls&lt;BR /&gt;(biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;TMP:&lt;BR /&gt;LOAD &lt;SPAN style="color: #ff0000;"&gt;Company&lt;/SPAN&gt;,&lt;BR /&gt;&amp;nbsp; ID,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dividend_Paid&lt;BR /&gt;Resident Data;&lt;BR /&gt;Left Join&lt;BR /&gt;LOAD&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;Company&lt;/SPAN&gt;, &lt;BR /&gt;ID as ID2,&lt;BR /&gt;ID - IterNo() + 1 as ID&lt;BR /&gt;Resident TMP&lt;BR /&gt;While IterNo() &amp;lt;= ID;&lt;/P&gt;&lt;P&gt;Left Join (Data)&lt;BR /&gt;LOAD &lt;SPAN style="color: #ff0000;"&gt;Company&lt;/SPAN&gt;,ID2 as ID,IF(Sum(Dividend_Paid)=0,'-',Sum(Dividend_Paid)) as Dividend_Paid_2014 Resident TMP Group by &lt;SPAN style="color: #ff0000;"&gt;Company&lt;/SPAN&gt;,ID2;&lt;/P&gt;&lt;P&gt;DROP Table TMP;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 06:47:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-calculation-in-load-script/m-p/1444031#M801540</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-11-23T06:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate calculation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-calculation-in-load-script/m-p/1444032#M801541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dave, it is very nice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 00:54:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-calculation-in-load-script/m-p/1444032#M801541</guid>
      <dc:creator>ronaldwang</dc:creator>
      <dc:date>2017-11-24T00:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate calculation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-calculation-in-load-script/m-p/1444033#M801542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you please kindly mark my reply as "Helpful" , I want to achieve a mission , thanks ! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 04:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-calculation-in-load-script/m-p/1444033#M801542</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-11-24T04:13:37Z</dc:date>
    </item>
  </channel>
</rss>

