<?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: How to count with three conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-count-with-three-conditions/m-p/446929#M485539</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Count({&amp;lt; ATENCIONXUSUARIO={User1, User2},Estado = {"Cerrado"} &amp;gt;} Estado)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Apr 2013 12:57:20 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2013-04-12T12:57:20Z</dc:date>
    <item>
      <title>How to count with three conditions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-with-three-conditions/m-p/446926#M485536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="border: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc; border: #000000 1px solid;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;ATENCIONXUSUARIO&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc; border: #000000 1px solid;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Estado&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: #000000 1px solid;"&gt;User1&lt;/TD&gt;&lt;TD style="border: #000000 1px solid;"&gt;Cerrado&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: #000000 1px solid;"&gt;User2&lt;/TD&gt;&lt;TD style="border: #000000 1px solid;"&gt;Cerrado&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: #000000 1px solid;"&gt;User3&lt;/TD&gt;&lt;TD style="border: #000000 1px solid;"&gt;Cerrado&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: #000000 1px solid;"&gt;User1&lt;/TD&gt;&lt;TD style="border: #000000 1px solid;"&gt;Abierto&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: #000000 1px solid;"&gt;User2&lt;/TD&gt;&lt;TD style="border: #000000 1px solid;"&gt;Cerrado&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table you can see the example, we have the two columns, in this case i need to count the elements in 'ATENCIONXUSUARIO' column for User 1 and User 2, when the column 'Estado' is "Cerrado", according to the example the result must be 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do that??? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 22:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-with-three-conditions/m-p/446926#M485536</guid>
      <dc:creator />
      <dc:date>2013-04-11T22:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to count with three conditions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-with-three-conditions/m-p/446927#M485537</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;Try with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt; ATENCIONXUSUARIO={User1, User2} &amp;gt;} Estado)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the result is different, try to include the DISTINCT Clause:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt; ATENCIONXUSUARIO={User1, User2} &amp;gt;} DISTINCT Estado)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ricardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 22:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-with-three-conditions/m-p/446927#M485537</guid>
      <dc:creator />
      <dc:date>2013-04-11T22:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to count with three conditions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-with-three-conditions/m-p/446928#M485538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the expression that you suggest we can only count the items that contains User1 and User2 in the column ATENCIONXUSUARIO, but we cant filter to in the column "Estado" the word Cerrado.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 23:04:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-with-three-conditions/m-p/446928#M485538</guid>
      <dc:creator />
      <dc:date>2013-04-11T23:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to count with three conditions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-with-three-conditions/m-p/446929#M485539</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Count({&amp;lt; ATENCIONXUSUARIO={User1, User2},Estado = {"Cerrado"} &amp;gt;} Estado)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 12:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-with-three-conditions/m-p/446929#M485539</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-04-12T12:57:20Z</dc:date>
    </item>
  </channel>
</rss>

