<?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 Using the Count function in a Table Box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-the-Count-function-in-a-Table-Box/m-p/146419#M24992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of doing a Count(DISTINCT... could you just create a table where the dimension is Employee ID and the Expression is:&lt;/P&gt;&lt;P&gt;Count( [Employee ID])&lt;/P&gt;&lt;P&gt;and then sort this descending. This should give you a list of the number of times each Employee ID appears in the table. If, as you say, there should be a unique Employee ID for each record then most of the rows will have a count of 1 and only those that appear in multiple rows will have a count &amp;gt; 1.&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sjprows&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jun 2009 04:45:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-11T04:45:04Z</dc:date>
    <item>
      <title>Using the Count function in a Table Box</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-Count-function-in-a-Table-Box/m-p/146415#M24988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a large number of records in my Qlikview table. One of the fields is Employee_ID. Under normal cricumstances there would be an unique employee id for each record. In some cases a single employee ID will appear in more than one record. I would like to display those particular records in list box.&lt;/P&gt;&lt;H4&gt;Using the statement =Count(distinct(EMPLOYEE_ID))&amp;gt;1 in the Calculation Condition of the List Box does not work. I do not think I am using that option corectly.&lt;/H4&gt;&lt;P&gt;Can someone please tell me how it can be done&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 06:52:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-Count-function-in-a-Table-Box/m-p/146415#M24988</guid>
      <dc:creator />
      <dc:date>2009-06-10T06:52:53Z</dc:date>
    </item>
    <item>
      <title>Using the Count function in a Table Box</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-Count-function-in-a-Table-Box/m-p/146416#M24989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the list box properties, general tab, select &amp;lt;Expression&amp;gt;, edit it, and put in this:&lt;/P&gt;&lt;P&gt;=aggr(if(count(EMPLOYEE_ID)&amp;gt;1,EMPLOYEE_ID),EMPLOYEE_ID)&lt;/P&gt;&lt;P&gt;There might be an easier way, but that should do the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 07:11:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-Count-function-in-a-Table-Box/m-p/146416#M24989</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-06-10T07:11:19Z</dc:date>
    </item>
    <item>
      <title>Using the Count function in a Table Box</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-Count-function-in-a-Table-Box/m-p/146417#M24990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The table box still shows records that have a Employee_ID that only appears in taht records. The filtering that is required is like Select * from &lt;EM&gt;table&lt;/EM&gt; where Count(Employee_ID) &amp;gt; 1 Group By Employee_ID. Can Qlikview do this sort of filtering in the front end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 08:24:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-Count-function-in-a-Table-Box/m-p/146417#M24990</guid>
      <dc:creator />
      <dc:date>2009-06-10T08:24:37Z</dc:date>
    </item>
    <item>
      <title>Using the Count function in a Table Box</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-Count-function-in-a-Table-Box/m-p/146418#M24991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, I paid attention to the post itself rather than the title, so I gave you instructions for a list box like the post requested. For a table box, use the expression I gave you as a calculated dimension, then suppress when value is null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 00:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-Count-function-in-a-Table-Box/m-p/146418#M24991</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-06-11T00:07:38Z</dc:date>
    </item>
    <item>
      <title>Using the Count function in a Table Box</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-Count-function-in-a-Table-Box/m-p/146419#M24992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of doing a Count(DISTINCT... could you just create a table where the dimension is Employee ID and the Expression is:&lt;/P&gt;&lt;P&gt;Count( [Employee ID])&lt;/P&gt;&lt;P&gt;and then sort this descending. This should give you a list of the number of times each Employee ID appears in the table. If, as you say, there should be a unique Employee ID for each record then most of the rows will have a count of 1 and only those that appear in multiple rows will have a count &amp;gt; 1.&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sjprows&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 04:45:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-Count-function-in-a-Table-Box/m-p/146419#M24992</guid>
      <dc:creator />
      <dc:date>2009-06-11T04:45:04Z</dc:date>
    </item>
    <item>
      <title>Using the Count function in a Table Box</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-Count-function-in-a-Table-Box/m-p/146420#M24993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To create a list box out of it you would go to, as John said, the general tab on the List Box properties and select &amp;lt;Expression&amp;gt;...then add the following expression:&lt;/P&gt;&lt;P&gt;=If(aggr(NODISTINCT Count(EMPLOYEE_ID), EMPLOYEE_ID)&amp;gt;1,EMPLOYEE_ID)&lt;/P&gt;&lt;P&gt;This will give you a list box with only those employees that appear more than once in your table&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;sjprows&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 04:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-Count-function-in-a-Table-Box/m-p/146420#M24993</guid>
      <dc:creator />
      <dc:date>2009-06-11T04:51:38Z</dc:date>
    </item>
  </channel>
</rss>

