<?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 Accumulation in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulation-in-script/m-p/158939#M33773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The function ISNULL() return -1 for true and 0 for false, maybe you need to check the condition:&lt;/P&gt;&lt;P&gt;IF( ISNULL(....) = -1, Do....., Else....)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Aug 2010 19:32:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-12T19:32:39Z</dc:date>
    <item>
      <title>Accumulation in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-script/m-p/158938#M33772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;Underneed you can see my code where i try to accumulate Consommé_CONSO&lt;BR /&gt;&lt;BR /&gt;SO the Consommé needs to be accumulated bases on the month(Mois de conso_MONTH_CONSO) and the Post Budg Int Numb_POSTBUDG&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;test:&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &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;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;%KEY_ZCONSOMMATION_ANBUD_TBUDGET,&lt;BR /&gt;Nr_ORG,&lt;BR /&gt;[Mois de conso_MONTH_CONSO],&lt;BR /&gt;[Post Budg Int Numb_POSTBUDG],&lt;BR /&gt;Consommé_CONSO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;FROM&lt;/P&gt;&lt;P&gt;[Brussels Gewest\QlikViewStorage\Private Files\Data\ZCONSOMMATION.QVD]&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;qvd)&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;noconcatenate&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;tmp:&lt;BR /&gt;&lt;B&gt;load&lt;BR /&gt;&lt;/B&gt;*&lt;BR /&gt;&lt;B&gt;resident&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;test&lt;BR /&gt;&lt;B&gt;order&lt;/B&gt; &lt;B&gt;by&lt;/B&gt; [Post Budg Int Numb_POSTBUDG] asc,[Mois de conso_MONTH_CONSO]&lt;/P&gt;&lt;P&gt;asc;&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;/P&gt;&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;P&gt;&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;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;drop&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;table&lt;/B&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;test;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Load&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;[Post Budg Int Numb_POSTBUDG],&lt;BR /&gt;[Mois de conso_MONTH_CONSO],&lt;BR /&gt;Consommé_CONSO,&lt;BR /&gt;if( ISNUll(peek(Consommé_CONSO)),Consommé_CONSO,Consommé_CONSO+peek(accum)) &lt;B&gt;as&lt;/B&gt; &lt;BR /&gt;accum&lt;BR /&gt;&lt;B&gt;resident&lt;BR /&gt;&lt;/B&gt;tmp &lt;B&gt;order&lt;/B&gt; &lt;B&gt;by&lt;/B&gt; [Mois de conso_MONTH_CONSO] &lt;P&gt;asc;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;drop&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;table&lt;/B&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;tmp;&lt;/I&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2010 19:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-script/m-p/158938#M33772</guid>
      <dc:creator>timmy</dc:creator>
      <dc:date>2010-08-12T19:04:29Z</dc:date>
    </item>
    <item>
      <title>Accumulation in script</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-in-script/m-p/158939#M33773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The function ISNULL() return -1 for true and 0 for false, maybe you need to check the condition:&lt;/P&gt;&lt;P&gt;IF( ISNULL(....) = -1, Do....., Else....)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2010 19:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-in-script/m-p/158939#M33773</guid>
      <dc:creator />
      <dc:date>2010-08-12T19:32:39Z</dc:date>
    </item>
  </channel>
</rss>

