<?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: what is the count() function ? and how can i use this ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858985#M469504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It s part of the Aggregation function. the basic use would be to count how many times something happen in a list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, i am dealing here with hotel packages (forfait) and with the following expression, i would ask Qlikview&lt;/P&gt;&lt;P&gt;Everytime, you have 'Forfait' a in the column &lt;STRONG&gt;Type_Forfait&lt;/STRONG&gt;, you count the value in the column &lt;STRONG&gt;Unit&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Type_Forfait&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Forfait'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Units&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;The official definition is :&lt;/STRONG&gt;&lt;/SPAN&gt; Returns the count of &lt;SPAN class="italic;"&gt;expression&lt;/SPAN&gt; over a number of records as defined by a &lt;SPAN class="Bold"&gt;group by&lt;/SPAN&gt; clause. If the word &lt;STRONG&gt;&lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; &lt;/STRONG&gt;occurs before the expression, all duplicates will be disregarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pay attention also to the function called DISTINCT very important for that kind of activity.$&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need more help, please provide me with some détails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached, the visual use of my expression. The column "NOMBRE" returns the number of package. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-07-01_11h38_10.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91429_2015-07-01_11h38_10.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;JP&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jul 2015 09:41:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-01T09:41:23Z</dc:date>
    <item>
      <title>what is the count() function ? and how can i use this ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858980#M469499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the count() function ? and how can i use this ?&amp;nbsp;&amp;nbsp; explain me pls........................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 09:21:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858980#M469499</guid>
      <dc:creator />
      <dc:date>2015-07-01T09:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: what is the count() function ? and how can i use this ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858981#M469500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest looking at the Help file or reference manual or searching the forum. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 09:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858981#M469500</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-01T09:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: what is the count() function ? and how can i use this ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858982#M469501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply is an aggregation function that counts the numbers of items under a certain condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g.: Count(Customers)&lt;/P&gt;&lt;P&gt;Count(distinct Customers)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use Count() in script or in expression and in the last you can add set analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 09:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858982#M469501</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-07-01T09:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: what is the count() function ? and how can i use this ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858983#M469502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #333333; font-family: Roboto, sans-serif; font-size: 14px;"&gt;Count()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Roboto, sans-serif; font-size: 14px;"&gt;This function returns the count of an expression over a number of records in business data as defined by a group by clause. If the distinct occurs before the expression, all duplicates will be discarded.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #333333; font-family: Roboto, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;Syntax&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #333333; font-family: Roboto, sans-serif; font-size: 14px;"&gt;count([distinct ] expression | * )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #333333; font-family: Roboto, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;Example&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Roboto, sans-serif; font-size: 14px;"&gt;Load Month, count(Sales) as NumberOfSalesPerMonth from abc.xls group by Month;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Roboto, sans-serif; font-size: 14px;"&gt;Load Month, count(distinct Customer) as CustomerBuyingPerMonth from abc.xls group by Month;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Roboto, sans-serif; font-size: 14px;"&gt;LoadMonth, count(*) as NumberOfRecordsPerMonth from abc.xls group per Month;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Roboto, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Roboto, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Roboto, sans-serif; font-size: 14px;"&gt;Type of Count function:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Roboto, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;"&gt;NumericCount()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;"&gt;TextCount()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;"&gt;NullCount()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;"&gt;MissingCount()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #333333; background: white; font-size: 10.5pt; font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #333333; background: white; font-size: 10.5pt; font-family: 'Arial','sans-serif';"&gt;Please go through below link&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #333333; background: white; font-size: 10.5pt; font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3734"&gt;Count or Count distinct?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 09:28:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858983#M469502</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2015-07-01T09:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: what is the count() function ? and how can i use this ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858984#M469503</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;Count():&lt;/P&gt;&lt;P&gt;Returns the aggregated total count of values from &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; or &lt;SPAN class="Italic"&gt;field&lt;/SPAN&gt; iterated over the chart dimension(s). &lt;/P&gt;&lt;P&gt;For this function it is allowed to use the &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; qualifier in combination with the &lt;SPAN class="Bold"&gt;total&lt;/SPAN&gt; qualifier This combination is not valid for any other aggregation functions. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;coung(Sales)&lt;/P&gt;&lt;P class="Code"&gt;count(Price*Quantity)&lt;/P&gt;&lt;P class="Code"&gt;count(distingct Price)&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;count(Sales)/count(total Sales)&lt;/SPAN&gt; returns sales within the selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 09:35:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858984#M469503</guid>
      <dc:creator>prajapatiamar38</dc:creator>
      <dc:date>2015-07-01T09:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: what is the count() function ? and how can i use this ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858985#M469504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It s part of the Aggregation function. the basic use would be to count how many times something happen in a list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, i am dealing here with hotel packages (forfait) and with the following expression, i would ask Qlikview&lt;/P&gt;&lt;P&gt;Everytime, you have 'Forfait' a in the column &lt;STRONG&gt;Type_Forfait&lt;/STRONG&gt;, you count the value in the column &lt;STRONG&gt;Unit&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Type_Forfait&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Forfait'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Units&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;The official definition is :&lt;/STRONG&gt;&lt;/SPAN&gt; Returns the count of &lt;SPAN class="italic;"&gt;expression&lt;/SPAN&gt; over a number of records as defined by a &lt;SPAN class="Bold"&gt;group by&lt;/SPAN&gt; clause. If the word &lt;STRONG&gt;&lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; &lt;/STRONG&gt;occurs before the expression, all duplicates will be disregarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pay attention also to the function called DISTINCT very important for that kind of activity.$&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need more help, please provide me with some détails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached, the visual use of my expression. The column "NOMBRE" returns the number of package. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-07-01_11h38_10.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91429_2015-07-01_11h38_10.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;JP&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 09:41:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858985#M469504</guid>
      <dc:creator />
      <dc:date>2015-07-01T09:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: what is the count() function ? and how can i use this ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858986#M469505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for everyone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 10:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858986#M469505</guid>
      <dc:creator />
      <dc:date>2015-07-01T10:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: what is the count() function ? and how can i use this ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858987#M469506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome, you can then close the case &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; have a nice day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 10:15:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-the-count-function-and-how-can-i-use-this/m-p/858987#M469506</guid>
      <dc:creator />
      <dc:date>2015-07-01T10:15:01Z</dc:date>
    </item>
  </channel>
</rss>

