<?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 expression with text in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/count-expression-with-text/m-p/279519#M1196839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the result you get with that expression? Too many values than the expected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try usind count( DISTINCT id_driver ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume there are numeric and repeated values because it is a key, so you have to use the DISTINCT clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that doesn't help please explain better the tables involved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2011 11:22:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-10T11:22:14Z</dc:date>
    <item>
      <title>count expression with text</title>
      <link>https://community.qlik.com/t5/QlikView/count-expression-with-text/m-p/279518#M1196838</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 have a question about the count expression. For example, we have table of driver's (fields ID_driver, name_car, city....), then i have a car's table (fields, id_car, name_car, driver_id, car_type). I would like to make a stack graph with the number of drivers that use a type of car. I mean, in the y axe we will have count(id_driver) and in the x axe (city). The question is how can i do the y axe? if i use count(id_driver) it doesnt work, id_driver is a text, i need to counter the numbers of drivers that we have in each city. If i have not been clear, please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 10:41:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-expression-with-text/m-p/279518#M1196838</guid>
      <dc:creator />
      <dc:date>2011-06-10T10:41:06Z</dc:date>
    </item>
    <item>
      <title>count expression with text</title>
      <link>https://community.qlik.com/t5/QlikView/count-expression-with-text/m-p/279519#M1196839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the result you get with that expression? Too many values than the expected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try usind count( DISTINCT id_driver ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume there are numeric and repeated values because it is a key, so you have to use the DISTINCT clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that doesn't help please explain better the tables involved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 11:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-expression-with-text/m-p/279519#M1196839</guid>
      <dc:creator />
      <dc:date>2011-06-10T11:22:14Z</dc:date>
    </item>
  </channel>
</rss>

