<?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 Count If Sum Is... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-If-Sum-Is/m-p/1408449#M426245</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 would like to ask how to create a set analysis that can test if the Sum of a certain field is met before it will be included on the count.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have this sample but I cannot get a good result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=COUNT({1&amp;lt;KPI_ForProj={1}, nAlloc &amp;gt;= {'100'}&amp;gt;} [Name])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to explain some of these variables:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;KPI_ForProj -&amp;gt; From script which gets the current month&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;nAlloc -&amp;gt; Numeric Field which consists of numbers. (100 is the target) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Name -&amp;gt; The person who got the nAlloc of 100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Required:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Get the sum of nAlloc per Name, if the nAlloc is equal of more than 100. It will be counted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I hope I give my problem clear. Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I just need a set analysis because mine is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;THANKS!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Aug 2017 06:35:21 GMT</pubDate>
    <dc:creator>ksomosera10</dc:creator>
    <dc:date>2017-08-30T06:35:21Z</dc:date>
    <item>
      <title>Count If Sum Is...</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-Sum-Is/m-p/1408449#M426245</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 would like to ask how to create a set analysis that can test if the Sum of a certain field is met before it will be included on the count.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have this sample but I cannot get a good result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=COUNT({1&amp;lt;KPI_ForProj={1}, nAlloc &amp;gt;= {'100'}&amp;gt;} [Name])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to explain some of these variables:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;KPI_ForProj -&amp;gt; From script which gets the current month&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;nAlloc -&amp;gt; Numeric Field which consists of numbers. (100 is the target) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Name -&amp;gt; The person who got the nAlloc of 100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Required:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Get the sum of nAlloc per Name, if the nAlloc is equal of more than 100. It will be counted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I hope I give my problem clear. Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I just need a set analysis because mine is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;THANKS!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 06:35:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-Sum-Is/m-p/1408449#M426245</guid>
      <dc:creator>ksomosera10</dc:creator>
      <dc:date>2017-08-30T06:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count If Sum Is...</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-Sum-Is/m-p/1408450#M426246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=COUNT({1&amp;lt;KPI_ForProj={1}, nAlloc = {'&lt;STRONG&gt;&amp;gt;=&lt;/STRONG&gt;100'}&amp;gt;} [Name])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 06:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-Sum-Is/m-p/1408450#M426246</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-30T06:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Count If Sum Is...</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-Sum-Is/m-p/1408451#M426247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! I will try it out...&lt;/P&gt;&lt;P&gt;If its not a burden. can you teach me how you come up with that?&lt;/P&gt;&lt;P&gt;or explain how it works like that. I'm not really good at set analysis. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 06:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-Sum-Is/m-p/1408451#M426247</guid>
      <dc:creator>ksomosera10</dc:creator>
      <dc:date>2017-08-30T06:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Count If Sum Is...</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-Sum-Is/m-p/1408452#M426248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There would be many very good resources to learn from. You can search this community for the same to get links like:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4076"&gt;A Primer on Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/246617"&gt;Re: Learning Set Analysis from Scratch&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 06:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-Sum-Is/m-p/1408452#M426248</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-30T06:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Count If Sum Is...</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-Sum-Is/m-p/1408453#M426249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow! That's great! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way. Just to check if my idea is right. If ever I need nAlloc lower than 30 does my set analysis would be like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=COUNT({1&amp;lt;KPI_ForProj={1}, nAlloc = {'&lt;STRONG&gt;&amp;lt;30&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'}&amp;gt;} [Name])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 06:51:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-Sum-Is/m-p/1408453#M426249</guid>
      <dc:creator>ksomosera10</dc:creator>
      <dc:date>2017-08-30T06:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Count If Sum Is...</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-Sum-Is/m-p/1408454#M426250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it will work.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mayank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 06:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-Sum-Is/m-p/1408454#M426250</guid>
      <dc:creator>mayankraoka</dc:creator>
      <dc:date>2017-08-30T06:55:14Z</dc:date>
    </item>
  </channel>
</rss>

