<?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 Counter for Quantity greater than zero in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counter-for-Quantity-greater-than-zero/m-p/191496#M53556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I guess this is a temp solution, it depends about the data and format&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Object: Straight/Pivot Table&lt;/LI&gt;&lt;LI&gt;Dimension(s): ItemNumber&lt;/LI&gt;&lt;LI&gt;Expression(s): 13 Expressions, 1-12 for every month in this format &lt;B&gt;max(JanQTY)/max(JanQTY)&lt;/B&gt;&lt;/LI&gt;&lt;LI&gt;The 13rd expression will be &lt;B&gt;rangecount(column(1),column(2),column(3),column(4).......&lt;/B&gt; &lt;B&gt;column(12)&lt;/B&gt;&lt;B&gt;)&lt;/B&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Explanation: If you divide every max value per item by itself, is going to be 1 if there is information, otherwise is going to be null, because is going to calculate 0/0, so the 12 expressions will be 1 o &lt;B&gt;null&lt;/B&gt;, then with the &lt;B&gt;rangecount()&lt;/B&gt; you will count only NON NULL value.&lt;/P&gt;&lt;P&gt;Anyway check the file that i've uploaded&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Sep 2010 19:25:41 GMT</pubDate>
    <dc:creator>hector</dc:creator>
    <dc:date>2010-09-07T19:25:41Z</dc:date>
    <item>
      <title>Counter for Quantity greater than zero</title>
      <link>https://community.qlik.com/t5/QlikView/Counter-for-Quantity-greater-than-zero/m-p/191495#M53555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;i have one issue on JDE database may one if you can help me...!!&lt;/P&gt;&lt;P&gt;i have table look like following:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;ItemNumber,&lt;/P&gt;&lt;P&gt;CostCenter,&lt;/P&gt;&lt;P&gt;Year,&lt;/P&gt;&lt;P&gt;JanQTY,&lt;/P&gt;&lt;P&gt;FebQTY,&lt;/P&gt;&lt;P&gt;MarQTY,&lt;/P&gt;&lt;P&gt;AprQTY,&lt;/P&gt;&lt;P&gt;MayQTY,&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;DecQTY,&lt;/P&gt;&lt;P&gt;From ItemHistory;&lt;/P&gt;&lt;P&gt;know i need make counter for each item in how many month sold...and ignore cost center ....&lt;/P&gt;&lt;P&gt;ItemNumber CostCenter JanQTY FebQTY MarQTY AprQTY&lt;/P&gt;&lt;P&gt;X I-21 0 200 0 10&lt;/P&gt;&lt;P&gt;X I-11 10 20 0 5&lt;/P&gt;&lt;P&gt;X I-22 0 0 0 10&lt;/P&gt;&lt;P&gt;Y I-22 19 0 0 0&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Result -X 1 1 0 1 TOTAL--&amp;gt; 3 Month&lt;/P&gt;&lt;P&gt;Result-Y 1 0 0 0 TOTAL--&amp;gt; 1 Month&lt;/P&gt;&lt;P&gt;by this i should know the total month have QTY on Year from 1 to 12 only,,,,, and ignore the cost center.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion please help me while im stuck on this.....[:(]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 18:50:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counter-for-Quantity-greater-than-zero/m-p/191495#M53555</guid>
      <dc:creator />
      <dc:date>2010-09-07T18:50:04Z</dc:date>
    </item>
    <item>
      <title>Counter for Quantity greater than zero</title>
      <link>https://community.qlik.com/t5/QlikView/Counter-for-Quantity-greater-than-zero/m-p/191496#M53556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I guess this is a temp solution, it depends about the data and format&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Object: Straight/Pivot Table&lt;/LI&gt;&lt;LI&gt;Dimension(s): ItemNumber&lt;/LI&gt;&lt;LI&gt;Expression(s): 13 Expressions, 1-12 for every month in this format &lt;B&gt;max(JanQTY)/max(JanQTY)&lt;/B&gt;&lt;/LI&gt;&lt;LI&gt;The 13rd expression will be &lt;B&gt;rangecount(column(1),column(2),column(3),column(4).......&lt;/B&gt; &lt;B&gt;column(12)&lt;/B&gt;&lt;B&gt;)&lt;/B&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Explanation: If you divide every max value per item by itself, is going to be 1 if there is information, otherwise is going to be null, because is going to calculate 0/0, so the 12 expressions will be 1 o &lt;B&gt;null&lt;/B&gt;, then with the &lt;B&gt;rangecount()&lt;/B&gt; you will count only NON NULL value.&lt;/P&gt;&lt;P&gt;Anyway check the file that i've uploaded&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 19:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counter-for-Quantity-greater-than-zero/m-p/191496#M53556</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2010-09-07T19:25:41Z</dc:date>
    </item>
    <item>
      <title>Counter for Quantity greater than zero</title>
      <link>https://community.qlik.com/t5/QlikView/Counter-for-Quantity-greater-than-zero/m-p/191497#M53557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd recommend reading the 12 months using CROSSTABLE and generating 2 fields - Month and Quantity. Then, it's easier to operate - count months, summarize quantities, etc...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 19:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counter-for-Quantity-greater-than-zero/m-p/191497#M53557</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-09-07T19:50:51Z</dc:date>
    </item>
  </channel>
</rss>

