<?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 do i calculate order Qty in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310122#M114505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have one small query on my report, my query is how do i calculate Order Qty if Pending Qty is not equal to Zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two expressions in my report &lt;/P&gt;&lt;P&gt;1) Order Qty&lt;/P&gt;&lt;P&gt;2) Pending Qty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order Qty -&amp;nbsp; Order Qty wher pending Qty is not zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pending Qty - Order Qty - Sales Qty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached excel sheet.&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;Regards,&lt;/P&gt;&lt;P&gt;Napolean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2011 10:47:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-30T10:47:59Z</dc:date>
    <item>
      <title>How do i calculate order Qty</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310122#M114505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have one small query on my report, my query is how do i calculate Order Qty if Pending Qty is not equal to Zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two expressions in my report &lt;/P&gt;&lt;P&gt;1) Order Qty&lt;/P&gt;&lt;P&gt;2) Pending Qty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order Qty -&amp;nbsp; Order Qty wher pending Qty is not zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pending Qty - Order Qty - Sales Qty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached excel sheet.&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;Regards,&lt;/P&gt;&lt;P&gt;Napolean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 10:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310122#M114505</guid>
      <dc:creator />
      <dc:date>2011-08-30T10:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do i calculate order Qty</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310123#M114506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a straight table with dimension Quote_No,&lt;/P&gt;&lt;P&gt;Use two expressions:&lt;/P&gt;&lt;P&gt;=if([Pending Qty]&amp;gt;0,[Order Qty])&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;=[Pending Qty]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check suppress zero values in presentation tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edited:&lt;/P&gt;&lt;P&gt;second expression field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edited by swuehl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 10:54:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310123#M114506</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-08-30T10:54:00Z</dc:date>
    </item>
    <item>
      <title>How do i calculate order Qty</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310124#M114507</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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pending qty is not a field name, it is an expression name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pending Qty = Order Qty - Sales Qty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Napolean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 11:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310124#M114507</guid>
      <dc:creator />
      <dc:date>2011-08-30T11:01:29Z</dc:date>
    </item>
    <item>
      <title>How do i calculate order Qty</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310125#M114508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was referring to your excel file (and I can't see a Sales Qty there), but anyway, just replace [Pending Qty] by ([Order Qty]- [Sales Qty])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 11:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310125#M114508</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-08-30T11:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do i calculate order Qty</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310126#M114509</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;&amp;nbsp; Chk ths&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 11:09:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310126#M114509</guid>
      <dc:creator />
      <dc:date>2011-08-30T11:09:41Z</dc:date>
    </item>
    <item>
      <title>How do i calculate order Qty</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310127#M114510</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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i tried in straight table but its not working....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(([Order Qty]- [Sales Qty])&amp;gt;0,[Order Qty])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Napolean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 11:10:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310127#M114510</guid>
      <dc:creator />
      <dc:date>2011-08-30T11:10:13Z</dc:date>
    </item>
    <item>
      <title>How do i calculate order Qty</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310128#M114511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have more than one record per Quote_No? Could you update your excel file with more detailed data then, including the sales data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 11:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310128#M114511</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-08-30T11:15:28Z</dc:date>
    </item>
    <item>
      <title>How do i calculate order Qty</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310129#M114512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; you'll need to change that to a sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(if(([Order Qty]- [Sales Qty])&amp;gt;0,[Order Qty]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 11:33:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-calculate-order-Qty/m-p/310129#M114512</guid>
      <dc:creator />
      <dc:date>2011-08-30T11:33:04Z</dc:date>
    </item>
  </channel>
</rss>

