<?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: RangeSum and script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RangeSum-and-script/m-p/13567#M607812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this&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;Dia, Input, Output&lt;/P&gt;&lt;P&gt;1/1/2018, 100, 50&lt;/P&gt;&lt;P&gt;2/1/2018, 50, 50&lt;/P&gt;&lt;P&gt;3/1/2018, 60, 50&lt;/P&gt;&lt;P&gt;4/1/2018, 70, 50&lt;/P&gt;&lt;P&gt;5/1/2018, 80, 50&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T2:&lt;/P&gt;&lt;P&gt;NoConcatenate LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Input, Output,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Input + Alt(Peek('CumInput'),0) as CumInput,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output + Alt(Peek('CumOutput'),0) as CumOutput,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Input - Output + Alt(Peek('CumDelta'),0) as CumDelta&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Resident T1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By Dia;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/196096_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2018 21:50:28 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2018-03-12T21:50:28Z</dc:date>
    <item>
      <title>RangeSum and script</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-and-script/m-p/13566#M607811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;Hi community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt; I have the following table and I need to obtain accumulated information. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="tabla.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/196094_tabla.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;In the graph I use the formula:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt; RangeSum (above (sum (Input-Output), 0, RowNo ())) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;and the result obtained seems correct&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="gráfico.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/196095_gráfico.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;I would need to perform this operation in the script by creating a table with the díacalendario field and the result I get for each day in the chart. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 21:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-and-script/m-p/13566#M607811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-12T21:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum and script</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-and-script/m-p/13567#M607812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this&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;Dia, Input, Output&lt;/P&gt;&lt;P&gt;1/1/2018, 100, 50&lt;/P&gt;&lt;P&gt;2/1/2018, 50, 50&lt;/P&gt;&lt;P&gt;3/1/2018, 60, 50&lt;/P&gt;&lt;P&gt;4/1/2018, 70, 50&lt;/P&gt;&lt;P&gt;5/1/2018, 80, 50&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T2:&lt;/P&gt;&lt;P&gt;NoConcatenate LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Input, Output,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Input + Alt(Peek('CumInput'),0) as CumInput,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output + Alt(Peek('CumOutput'),0) as CumOutput,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Input - Output + Alt(Peek('CumDelta'),0) as CumDelta&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Resident T1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By Dia;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/196096_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 21:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-and-script/m-p/13567#M607812</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2018-03-12T21:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum and script</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-and-script/m-p/13568#M607813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Thank you so much,&lt;BR /&gt;&lt;BR /&gt;it worked perfectly&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 08:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-and-script/m-p/13568#M607813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-13T08:15:35Z</dc:date>
    </item>
  </channel>
</rss>

