<?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 condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-if-condition/m-p/719757#M1069783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to count different rows in a database where a field's value is different from 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, a quote can have 6 different values from 0 to 6 (accpeted, refused, pending, etc) and I need to count the amount of quotes that are not accpeted, that is to say, they can be pending, refused, ...&lt;/P&gt;&lt;P&gt;I already succeeded counting the amount of quotes that are refused, using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count ({&amp;lt;ENDV_NVARIANT={0}&amp;gt;} ENDV_NVARIANT) which works perfectly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when I replace the "=" by "&amp;lt;&amp;gt;" in order to have a condition where it has to be different from "1", it doesn't work since the symbols are interfering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count ({&amp;lt;ENDV_NVARIANT&amp;lt;&amp;gt;{1}&amp;gt;} ENDV_NVARIANT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Sep 2014 11:39:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-05T11:39:12Z</dc:date>
    <item>
      <title>Count if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-condition/m-p/719757#M1069783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to count different rows in a database where a field's value is different from 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, a quote can have 6 different values from 0 to 6 (accpeted, refused, pending, etc) and I need to count the amount of quotes that are not accpeted, that is to say, they can be pending, refused, ...&lt;/P&gt;&lt;P&gt;I already succeeded counting the amount of quotes that are refused, using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count ({&amp;lt;ENDV_NVARIANT={0}&amp;gt;} ENDV_NVARIANT) which works perfectly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when I replace the "=" by "&amp;lt;&amp;gt;" in order to have a condition where it has to be different from "1", it doesn't work since the symbols are interfering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count ({&amp;lt;ENDV_NVARIANT&amp;lt;&amp;gt;{1}&amp;gt;} ENDV_NVARIANT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 11:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-condition/m-p/719757#M1069783</guid>
      <dc:creator />
      <dc:date>2014-09-05T11:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-condition/m-p/719758#M1069784</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;count ({&amp;lt;ENDV_NVARIANT -= {1}&amp;gt;} ENDV_NVARIANT)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 11:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-condition/m-p/719758#M1069784</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-05T11:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Count if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-condition/m-p/719759#M1069785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I introduce your expression, it tells me there is an error &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 12:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-condition/m-p/719759#M1069785</guid>
      <dc:creator />
      <dc:date>2014-09-05T12:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Count if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-condition/m-p/719760#M1069786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the other side, the other expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;ENDV_STATUT_DE_SUIVI = {"&amp;lt;&amp;gt;1"}&amp;gt;} ENDV_STATUT_DE_SUIVI)&amp;nbsp;&amp;nbsp;&amp;nbsp; (the variables are the same, sorry for the change)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seemed to work, but it doesn't take into accoun the quotes with value "0"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 12:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-condition/m-p/719760#M1069786</guid>
      <dc:creator />
      <dc:date>2014-09-05T12:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Count if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-condition/m-p/719761#M1069787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When we use -= in Set Analysis, it will give you syntax error (Red Lines) but the formula will work.. &lt;/P&gt;&lt;P&gt;Just ignore the syntax error while using -=&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 12:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-condition/m-p/719761#M1069787</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-05T12:04:33Z</dc:date>
    </item>
  </channel>
</rss>

