<?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 with if condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-with-if-condition/m-p/1182299#M382986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an expression that is wrong, but should show what I want to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT(&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(((SUM(krankstunden_netto)/SUM(sollstunden_netto))*100)=0,1,0)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to count the value 1 when the result of the expression is 0&lt;/P&gt;&lt;P&gt;How do I do this correctly in Qlikview?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Sep 2016 08:59:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-09-13T08:59:42Z</dc:date>
    <item>
      <title>Count with if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-if-condition/m-p/1182299#M382986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an expression that is wrong, but should show what I want to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT(&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(((SUM(krankstunden_netto)/SUM(sollstunden_netto))*100)=0,1,0)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to count the value 1 when the result of the expression is 0&lt;/P&gt;&lt;P&gt;How do I do this correctly in Qlikview?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 08:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-if-condition/m-p/1182299#M382986</guid>
      <dc:creator />
      <dc:date>2016-09-13T08:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Count with if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-if-condition/m-p/1182300#M382987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Stock_Code = {"=if(((&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM(krankstunden_netto)/SUM(sollstunden_netto))*100)=0,1&lt;/SPAN&gt;)"}&amp;gt;}Stock_Code)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace Stock_Code with your own field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 23:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-if-condition/m-p/1182300#M382987</guid>
      <dc:creator />
      <dc:date>2017-01-19T23:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Count with if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-if-condition/m-p/1182301#M382988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps creating a flag in the back end using the same logic, then counting where field = 0 in the set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck,&lt;/P&gt;&lt;P&gt;Pravesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 06:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-if-condition/m-p/1182301#M382988</guid>
      <dc:creator />
      <dc:date>2017-01-20T06:31:34Z</dc:date>
    </item>
  </channel>
</rss>

