<?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 Count a field with a certain expression applied in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Count-a-field-with-a-certain-expression-applied/m-p/150627#M28612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey All,&lt;BR /&gt; I created an expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;if((Count ( {&amp;lt; Dateentered = {'06/2009'}&amp;gt;} Service) - Count ( {&amp;lt; Dateentered = {'05/2009'} &amp;gt;} Service)) &amp;lt; 0 ) , 'Green', 'red')&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;What the expression does is it subtracts the count of services this month and the prior month and if it is less then 0 then green else it is red. What I would like to do is count how many of the services are green, but I am unsure how to even begin. I tried just counting the expression but I get a -. Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jul 2009 22:05:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-29T22:05:38Z</dc:date>
    <item>
      <title>How to Count a field with a certain expression applied</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Count-a-field-with-a-certain-expression-applied/m-p/150627#M28612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey All,&lt;BR /&gt; I created an expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;if((Count ( {&amp;lt; Dateentered = {'06/2009'}&amp;gt;} Service) - Count ( {&amp;lt; Dateentered = {'05/2009'} &amp;gt;} Service)) &amp;lt; 0 ) , 'Green', 'red')&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;What the expression does is it subtracts the count of services this month and the prior month and if it is less then 0 then green else it is red. What I would like to do is count how many of the services are green, but I am unsure how to even begin. I tried just counting the expression but I get a -. Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 22:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Count-a-field-with-a-certain-expression-applied/m-p/150627#M28612</guid>
      <dc:creator />
      <dc:date>2009-07-29T22:05:38Z</dc:date>
    </item>
    <item>
      <title>How to Count a field with a certain expression applied</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Count-a-field-with-a-certain-expression-applied/m-p/150628#M28613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;just an idea.&lt;/P&gt;&lt;P&gt;See the attached application.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 14:34:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Count-a-field-with-a-certain-expression-applied/m-p/150628#M28613</guid>
      <dc:creator />
      <dc:date>2009-07-30T14:34:17Z</dc:date>
    </item>
  </channel>
</rss>

