<?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 load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455023#M794186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;by not putting the where condition, it is working perfectly, after putting the where condition, first few rows getting strange result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jan 2018 05:16:16 GMT</pubDate>
    <dc:creator>ronaldwang</dc:creator>
    <dc:date>2018-01-12T05:16:16Z</dc:date>
    <item>
      <title>accumulation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455017#M794180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; color: #323e4f;"&gt;In the attached sample file I want to create an additional column which is accumulated value of Dividend paid, basically I want to create a fifth column where it will scan through fourth column and add up those dividends paid up to date. how can I achieve it in the load script?&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/accumulation-in-load-script/m-p/1455017#M794180</guid>
      <dc:creator>ronaldwang</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: accumulation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455018#M794181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This the pattern:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Dividend,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; RangeSum(Peek(Accumulated_Dividend), Dividend) as Accumulated_Dividend,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident Data&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Order by ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load the data from the source, then perform an ordered resident load to get the accumulation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 04:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455018#M794181</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-01-12T04:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: accumulation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455019#M794182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to reset the accumulation for each value of another field (example [Branch]), then use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Branch,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Dividend,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; If(Branch = Previous(Branch), &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; RangeSum(Peek(Accumulated_Dividend), Dividend),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Dividend) as Accumulated_Dividend,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident Data&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Order by Branch, ...&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 04:52:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455019#M794182</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-01-12T04:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: accumulation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455020#M794183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan, how if i want to put one more condition, say date greater than 01/01/2015.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 04:57:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455020#M794183</guid>
      <dc:creator>ronaldwang</dc:creator>
      <dc:date>2018-01-12T04:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: accumulation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455021#M794184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use Where Condition like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Branch,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Dividend,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; DateField,&lt;/STRONG&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; If(Branch = Previous(Branch), &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; RangeSum(Peek(Accumulated_Dividend), Dividend),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Dividend) as Accumulated_Dividend,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident Data &lt;STRONG&gt;Where DateField &amp;gt;= '01/01/2015'&lt;/STRONG&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Order by Branch, ...&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 05:02:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455021#M794184</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-12T05:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: accumulation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455022#M794185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add a where clause, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Where [Date] &amp;gt; Date#('01/01/2015', 'dd/MM/yyyy')&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 05:02:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455022#M794185</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-01-12T05:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: accumulation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455023#M794186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;by not putting the where condition, it is working perfectly, after putting the where condition, first few rows getting strange result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 05:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455023#M794186</guid>
      <dc:creator>ronaldwang</dc:creator>
      <dc:date>2018-01-12T05:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: accumulation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455024#M794187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can previous function be used to do the same calculation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 05:44:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455024#M794187</guid>
      <dc:creator>ronaldwang</dc:creator>
      <dc:date>2018-01-12T05:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: accumulation in load script</title>
      <link>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455025#M794188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They are not interchangeable:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Previous()&lt;/EM&gt; gets the value from the prior line in the &lt;STRONG&gt;source or input&lt;/STRONG&gt; data.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Peek()&lt;/EM&gt; looks at the prior line in the &lt;STRONG&gt;output&lt;/STRONG&gt; data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 05:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accumulation-in-load-script/m-p/1455025#M794188</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-01-15T05:30:45Z</dc:date>
    </item>
  </channel>
</rss>

