<?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 calculation of Date &amp; quantity in diff rows (availability) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/calculation-of-Date-quantity-in-diff-rows-availability/m-p/148177#M505255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Stephen.&lt;/P&gt;&lt;P&gt;The date of Sale/Delivery is not relevant. They happen at random. In principle, yes,&lt;BR /&gt;availability is All Deliveries - All Sales, but what I need is By Product.&lt;/P&gt;&lt;P&gt;I've got to know how much is the remaining quantity of each product at the point of sale. &lt;IMG alt="Confused" src="http://community.qlik.com/emoticons/emotion-42.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jul 2009 20:26:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-01T20:26:45Z</dc:date>
    <item>
      <title>calculation of Date &amp; quantity in diff rows (availability)</title>
      <link>https://community.qlik.com/t5/QlikView/calculation-of-Date-quantity-in-diff-rows-availability/m-p/148175#M505253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a tough case:&lt;BR /&gt;&lt;BR /&gt;How do you calculate the stock available after a sale by using two tables - one for the&lt;BR /&gt;sales and another for the deliveries?&lt;BR /&gt;I ran into the following problem: as I join the two tables of the sales and the&lt;/P&gt;&lt;P&gt;deliveries together, for each sale I have to get the delivered quantity for the period before the sale (Date&amp;gt;SupplyDate) and calculate the remaining quantity. I can't figure out how to make this work. Any ideas?&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For example look at the file attached...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 18:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculation-of-Date-quantity-in-diff-rows-availability/m-p/148175#M505253</guid>
      <dc:creator />
      <dc:date>2009-07-01T18:37:44Z</dc:date>
    </item>
    <item>
      <title>calculation of Date &amp; quantity in diff rows (availability)</title>
      <link>https://community.qlik.com/t5/QlikView/calculation-of-Date-quantity-in-diff-rows-availability/m-p/148176#M505254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Konstantin,&lt;/P&gt;&lt;P&gt;Is the date of Sale/Delivery relevant? Is availability not All Deliveries - All Sales?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 19:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculation-of-Date-quantity-in-diff-rows-availability/m-p/148176#M505254</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2009-07-01T19:44:33Z</dc:date>
    </item>
    <item>
      <title>calculation of Date &amp; quantity in diff rows (availability)</title>
      <link>https://community.qlik.com/t5/QlikView/calculation-of-Date-quantity-in-diff-rows-availability/m-p/148177#M505255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Stephen.&lt;/P&gt;&lt;P&gt;The date of Sale/Delivery is not relevant. They happen at random. In principle, yes,&lt;BR /&gt;availability is All Deliveries - All Sales, but what I need is By Product.&lt;/P&gt;&lt;P&gt;I've got to know how much is the remaining quantity of each product at the point of sale. &lt;IMG alt="Confused" src="http://community.qlik.com/emoticons/emotion-42.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 20:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculation-of-Date-quantity-in-diff-rows-availability/m-p/148177#M505255</guid>
      <dc:creator />
      <dc:date>2009-07-01T20:26:45Z</dc:date>
    </item>
    <item>
      <title>calculation of Date &amp; quantity in diff rows (availability)</title>
      <link>https://community.qlik.com/t5/QlikView/calculation-of-Date-quantity-in-diff-rows-availability/m-p/148178#M505256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use an Aggr to get the delivery values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(NODISTINCT Sum(DeliveryQTY),Product)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 20:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculation-of-Date-quantity-in-diff-rows-availability/m-p/148178#M505256</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2009-07-01T20:42:23Z</dc:date>
    </item>
    <item>
      <title>calculation of Date &amp; quantity in diff rows (availability)</title>
      <link>https://community.qlik.com/t5/QlikView/calculation-of-Date-quantity-in-diff-rows-availability/m-p/148179#M505257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i believe the best is to change the load script.&lt;/P&gt;&lt;P&gt;Check the attached QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 23:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculation-of-Date-quantity-in-diff-rows-availability/m-p/148179#M505257</guid>
      <dc:creator />
      <dc:date>2009-07-01T23:41:35Z</dc:date>
    </item>
  </channel>
</rss>

