<?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 Re: count if... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/count-if/m-p/504892#M1143083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you just want to display the number of customers who didn't get the target, then I wonder if the function below helps :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(aggr( if( Sales &amp;lt; Target, Name ), Name ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use a text object to test the function ( after you replaced the fields names with yours ofcourse ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Sep 2013 12:50:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-10T12:50:46Z</dc:date>
    <item>
      <title>count if...</title>
      <link>https://community.qlik.com/t5/QlikView/count-if/m-p/504884#M1143072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a pivot table with a column (1) that loads (sum sales - sum target)&lt;/P&gt;&lt;P&gt;Now I want to count all customernames where column (1) &amp;lt; 0&amp;nbsp; (so where sales &amp;lt; target)&lt;/P&gt;&lt;P&gt;I have tried this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Count &lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Column&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1)= '&amp;lt;=0',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[organisatie_naamorg]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;but this results in 0 for everything, so I am doing something wrong....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Can someone help me with this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 12:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-if/m-p/504884#M1143072</guid>
      <dc:creator>anitamanders</dc:creator>
      <dc:date>2013-09-10T12:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: count if...</title>
      <link>https://community.qlik.com/t5/QlikView/count-if/m-p/504885#M1143073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try: Column(1)&amp;lt;=0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Column&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1)= '&amp;lt;=0'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 12:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-if/m-p/504885#M1143073</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-10T12:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: count if...</title>
      <link>https://community.qlik.com/t5/QlikView/count-if/m-p/504886#M1143074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;Count &lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Column&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1)&amp;lt;=0,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[organisatie_naamorg]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 12:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-if/m-p/504886#M1143074</guid>
      <dc:creator />
      <dc:date>2013-09-10T12:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: count if...</title>
      <link>https://community.qlik.com/t5/QlikView/count-if/m-p/504887#M1143075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, does not work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 12:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-if/m-p/504887#M1143075</guid>
      <dc:creator>anitamanders</dc:creator>
      <dc:date>2013-09-10T12:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: count if...</title>
      <link>https://community.qlik.com/t5/QlikView/count-if/m-p/504888#M1143076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope the attached file will helpful for you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 12:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-if/m-p/504888#M1143076</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-10T12:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: count if...</title>
      <link>https://community.qlik.com/t5/QlikView/count-if/m-p/504889#M1143077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try this,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Column&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(1)&amp;lt;=0,Count(Distinct &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[organisatie_naamorg]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 12:43:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-if/m-p/504889#M1143077</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2013-09-10T12:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: count if...</title>
      <link>https://community.qlik.com/t5/QlikView/count-if/m-p/504890#M1143079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot Ashok, this works perfectly !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 12:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-if/m-p/504890#M1143079</guid>
      <dc:creator>anitamanders</dc:creator>
      <dc:date>2013-09-10T12:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: count if...</title>
      <link>https://community.qlik.com/t5/QlikView/count-if/m-p/504891#M1143081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; welcome&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 12:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-if/m-p/504891#M1143081</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-10T12:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: count if...</title>
      <link>https://community.qlik.com/t5/QlikView/count-if/m-p/504892#M1143083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you just want to display the number of customers who didn't get the target, then I wonder if the function below helps :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(aggr( if( Sales &amp;lt; Target, Name ), Name ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use a text object to test the function ( after you replaced the fields names with yours ofcourse ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 12:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-if/m-p/504892#M1143083</guid>
      <dc:creator />
      <dc:date>2013-09-10T12:50:46Z</dc:date>
    </item>
  </channel>
</rss>

