<?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 How to Find last Qty in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-Qty/m-p/214412#M67959</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I forgot to attach the file please find the atached....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jan 2010 07:37:37 GMT</pubDate>
    <dc:creator>spsrk_84</dc:creator>
    <dc:date>2010-01-19T07:37:37Z</dc:date>
    <item>
      <title>How to Find last Qty</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-Qty/m-p/214410#M67957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left"&gt;Scenario&lt;/P&gt;&lt;P class="MsoListParagraph" style="text-align: left"&gt;1. Customer chooses Month and Product&lt;/P&gt;&lt;P class="MsoListParagraph" style="text-align: left"&gt;2. Month for the year at the time is "the Month", figure in Quantity of "Month-1"&lt;/P&gt;&lt;P class="MsoListParagraph" style="text-align: left"&gt;If there is no Quantity at "Month-1", browse the past data of "Month-1" continuously to figure in the last Quantity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD valign="top" width="103"&gt;&lt;P&gt;Period&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="94"&gt;&lt;P&gt;Product&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="94"&gt;&lt;P&gt;Qty&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="103"&gt;&lt;P&gt;2009-01&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="94"&gt;&lt;P&gt;A&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="94"&gt;&lt;P style="font-weight: bold"&gt;10&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="103"&gt;&lt;P&gt;2009-02&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="94"&gt;&lt;P&gt;B&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="94"&gt;&lt;P&gt;20&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="103"&gt;&lt;P&gt;2009-03&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="94"&gt;&lt;P&gt;B&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="94"&gt;&lt;P&gt;30&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="103"&gt;&lt;P&gt;2009-04&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="94"&gt;&lt;P&gt;A&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" width="94"&gt;&lt;P&gt;50&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current Selection : Period is &lt;B&gt;2009-04&lt;/B&gt;, Product is &lt;B&gt;A&lt;/B&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;We need last Qty ( description Scenario(2) ) is &lt;B&gt;10&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Attached qvw file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;plz, Somebody help me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 08:13:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-Qty/m-p/214410#M67957</guid>
      <dc:creator />
      <dc:date>2010-01-18T08:13:33Z</dc:date>
    </item>
    <item>
      <title>How to Find last Qty</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-Qty/m-p/214411#M67958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I got one solution Please find the attached Qvw file in that file In the Script part i had written some logic by assuming the sccenario like&lt;/P&gt;&lt;P&gt;if the product name is same as previous and Year is same as Previous year and Month is greater than the previous Month in that scenario i am calculating the LastQty.&lt;/P&gt;&lt;P&gt;Hope this works........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ajay143&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 07:33:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-Qty/m-p/214411#M67958</guid>
      <dc:creator>spsrk_84</dc:creator>
      <dc:date>2010-01-19T07:33:58Z</dc:date>
    </item>
    <item>
      <title>How to Find last Qty</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Find-last-Qty/m-p/214412#M67959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I forgot to attach the file please find the atached....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 07:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Find-last-Qty/m-p/214412#M67959</guid>
      <dc:creator>spsrk_84</dc:creator>
      <dc:date>2010-01-19T07:37:37Z</dc:date>
    </item>
  </channel>
</rss>

