<?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: looking for a stock example in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/looking-for-a-stock-example/m-p/472472#M176430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert, Thanks for your help. Nice script, but i have a question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why doesn't it work when i have 2 rows for movements within the same day? see example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jun 2013 21:00:05 GMT</pubDate>
    <dc:creator>amien</dc:creator>
    <dc:date>2013-06-17T21:00:05Z</dc:date>
    <item>
      <title>looking for a stock example</title>
      <link>https://community.qlik.com/t5/QlikView/looking-for-a-stock-example/m-p/472470#M176428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anyone got a stock example for me? I have the current stock postion of a certain material. Plus i have all the movements.&lt;/P&gt;&lt;P&gt;See it needs to be calculated backwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Material , Date , Current/Movement , Value&lt;/P&gt;&lt;P&gt;AAAA&amp;nbsp;&amp;nbsp;&amp;nbsp; , 14/02/2013 , Current&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , 1000&lt;/P&gt;&lt;P&gt;AAAA&amp;nbsp;&amp;nbsp;&amp;nbsp; , 12/02/2013 , Movement&amp;nbsp; ,&amp;nbsp; -500&lt;/P&gt;&lt;P&gt;AAAA&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp; 11/02/2013, Movement&amp;nbsp; ,&amp;nbsp;&amp;nbsp; 200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my output tables should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AAAA , 14/02/2013 , 1000&lt;/P&gt;&lt;P&gt;AAAA , 13/02/2013 , 1000&lt;/P&gt;&lt;P&gt;AAAA , 12/02/2013 , 1500&lt;/P&gt;&lt;P&gt;AAAA , 11/02/2013 , 1300&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not looking for an expression because of the number of rows to process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 23:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/looking-for-a-stock-example/m-p/472470#M176428</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2013-06-13T23:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: looking for a stock example</title>
      <link>https://community.qlik.com/t5/QlikView/looking-for-a-stock-example/m-p/472471#M176429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 12:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/looking-for-a-stock-example/m-p/472471#M176429</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-14T12:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: looking for a stock example</title>
      <link>https://community.qlik.com/t5/QlikView/looking-for-a-stock-example/m-p/472472#M176430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert, Thanks for your help. Nice script, but i have a question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why doesn't it work when i have 2 rows for movements within the same day? see example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 21:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/looking-for-a-stock-example/m-p/472472#M176430</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2013-06-17T21:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: looking for a stock example</title>
      <link>https://community.qlik.com/t5/QlikView/looking-for-a-stock-example/m-p/472473#M176431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because of the join. The gaps between dates will be filled for every movement on the date prior to the gap. You'll need to aggregate the movements first per date if you have more than one movement per date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 08:40:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/looking-for-a-stock-example/m-p/472473#M176431</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-18T08:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: looking for a stock example</title>
      <link>https://community.qlik.com/t5/QlikView/looking-for-a-stock-example/m-p/472474#M176432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent stuff Gysbert! .. works like a charm . Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 21:30:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/looking-for-a-stock-example/m-p/472474#M176432</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2013-06-18T21:30:02Z</dc:date>
    </item>
  </channel>
</rss>

