<?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 use count function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-count-function/m-p/235891#M87120</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have the following case:&lt;/P&gt;&lt;P&gt;Table structure:&lt;/P&gt;&lt;P&gt;Category&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;P&gt;I want to get the row count whose category is A, it results will be 2.&lt;/P&gt;&lt;P&gt;How can I do?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isaac Li&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Oct 2010 08:02:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-13T08:02:39Z</dc:date>
    <item>
      <title>How to use count function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-count-function/m-p/235891#M87120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have the following case:&lt;/P&gt;&lt;P&gt;Table structure:&lt;/P&gt;&lt;P&gt;Category&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;P&gt;I want to get the row count whose category is A, it results will be 2.&lt;/P&gt;&lt;P&gt;How can I do?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isaac Li&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 08:02:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-count-function/m-p/235891#M87120</guid>
      <dc:creator />
      <dc:date>2010-10-13T08:02:39Z</dc:date>
    </item>
    <item>
      <title>How to use count function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-count-function/m-p/235892#M87121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1. If you are using a straight table then just put Category in dimension and in expression specify&lt;/P&gt;&lt;P&gt;count(Category)&lt;/P&gt;&lt;P&gt;2. If you are using a text object then you can write the following expression&lt;/P&gt;&lt;P&gt;count(if(Category='A',Category))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Best Regards&lt;/P&gt;&lt;P&gt;Kuldeep Tak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 08:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-count-function/m-p/235892#M87121</guid>
      <dc:creator />
      <dc:date>2010-10-13T08:08:08Z</dc:date>
    </item>
  </channel>
</rss>

