<?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: Count function on Primary key in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343978#M127006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashutosh,&lt;/P&gt;&lt;P&gt;I am sending you snapshots in which Customer_ID is primary key and still showing frequencies...but in some examples we can not apply show Frequencies for primary key... because it is desabled... i dont understand why this is happening? &lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="13202" alt="temp_CountPrimaryKey.png" class="jive-image-thumbnail jive-image" height="468" src="https://community.qlik.com/legacyfs/online/13202_temp_CountPrimaryKey.png" width="647" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Apr 2012 09:00:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-20T09:00:30Z</dc:date>
    <item>
      <title>Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343966#M126994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can not allow to use count function on Primary key but if i rename it then i can use count function on that primary key......how it is possible????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 03:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343966#M126994</guid>
      <dc:creator />
      <dc:date>2012-04-10T03:44:52Z</dc:date>
    </item>
    <item>
      <title>Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343967#M126995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Count is an aggregation function and to use any aggregation function (in load script), you will need to aggregate it on the basis of other fields you are loading in parallel.&lt;/P&gt;&lt;P&gt;If this is the only statement then it will work without group by also.&lt;/P&gt;&lt;P&gt;Can you please share your app or load statement where you are having issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 04:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343967#M126995</guid>
      <dc:creator />
      <dc:date>2012-04-10T04:28:33Z</dc:date>
    </item>
    <item>
      <title>Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343968#M126996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; actually i read somewhere that we can not apply count function on primary key....but i donk know why it is so??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 05:53:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343968#M126996</guid>
      <dc:creator />
      <dc:date>2012-04-10T05:53:36Z</dc:date>
    </item>
    <item>
      <title>Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343969#M126997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah,&lt;/P&gt;&lt;P&gt;I also have some blurred memory of reading it somewhere but I was not able to recall it or find the source where I read it.&lt;/P&gt;&lt;P&gt;So, I tried to use it on a link field in Qlikview and it worked fine for me. So, I was not able to reach on any justification.&lt;/P&gt;&lt;P&gt;That is the reason, i had said to you to share the app or load statement where it was not working for you.&lt;/P&gt;&lt;P&gt;That way, I will be able to conclude if it works or not.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 06:02:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343969#M126997</guid>
      <dc:creator />
      <dc:date>2012-04-10T06:02:58Z</dc:date>
    </item>
    <item>
      <title>Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343970#M126998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and yes we can not show frequencies of the link fields in list box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 06:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343970#M126998</guid>
      <dc:creator />
      <dc:date>2012-04-10T06:03:38Z</dc:date>
    </item>
    <item>
      <title>Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343971#M126999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or may be in that post it would have been refering to count of values shown in document properties under the tables tab where if any field is a key field then it shows the count of values 0 for that field.&lt;/P&gt;&lt;P&gt;because, I tried count function in front end also on key field and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 06:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343971#M126999</guid>
      <dc:creator />
      <dc:date>2012-04-10T06:07:57Z</dc:date>
    </item>
    <item>
      <title>Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343972#M127000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; what are the link fields in list box? Is it a key which is primary key of 1 table and foreign key of other table?and if it is that key then we can show frequencies over there.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 06:10:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343972#M127000</guid>
      <dc:creator />
      <dc:date>2012-04-10T06:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343973#M127001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yojas,&lt;/P&gt;&lt;P&gt;In Qlikview there are no primary or foreign keys, there are only keys.&lt;/P&gt;&lt;P&gt;Key field is a field which is present in more than one table so, it works as a link between those tables, so sometimes is also referred as link field.&lt;/P&gt;&lt;P&gt;when you take any field in list box and go to the list box properties -&amp;gt; general then there will be a check box for &lt;STRONG&gt;show frequency &lt;/STRONG&gt;which will only be available for the non key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 06:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343973#M127001</guid>
      <dc:creator />
      <dc:date>2012-04-10T06:20:39Z</dc:date>
    </item>
    <item>
      <title>Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343974#M127002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; i understand what you want to say and i tried to apply that option for&amp;nbsp; key fields and it is showing me frequencies of that field...... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 06:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343974#M127002</guid>
      <dc:creator />
      <dc:date>2012-04-10T06:58:31Z</dc:date>
    </item>
    <item>
      <title>Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343975#M127003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that you can see frequencies of the key fields. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;You may be seeing it for some non key field, please recheck it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 07:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343975#M127003</guid>
      <dc:creator />
      <dc:date>2012-04-10T07:23:36Z</dc:date>
    </item>
    <item>
      <title>Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343976#M127004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; yes i am getting it for all types of fields.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 07:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343976#M127004</guid>
      <dc:creator />
      <dc:date>2012-04-10T07:29:56Z</dc:date>
    </item>
    <item>
      <title>Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343977#M127005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;From key fields, I am refering to the fields which are key field in your Qlikview data model, I am not saying about fields which were key fields in your source database!!&lt;/P&gt;&lt;P&gt;Can you post me a screenshot of your table viewer (ctrl+T) which shows that a field is link field and also a list box showing frequencies for that link field?&lt;/P&gt;&lt;P&gt;That will be a good learning for me because till now I used to believe that link fields don't show frequency.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 08:37:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343977#M127005</guid>
      <dc:creator />
      <dc:date>2012-04-10T08:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343978#M127006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashutosh,&lt;/P&gt;&lt;P&gt;I am sending you snapshots in which Customer_ID is primary key and still showing frequencies...but in some examples we can not apply show Frequencies for primary key... because it is desabled... i dont understand why this is happening? &lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="13202" alt="temp_CountPrimaryKey.png" class="jive-image-thumbnail jive-image" height="468" src="https://community.qlik.com/legacyfs/online/13202_temp_CountPrimaryKey.png" width="647" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 09:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343978#M127006</guid>
      <dc:creator />
      <dc:date>2012-04-20T09:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343979#M127007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yojas,&lt;/P&gt;&lt;P&gt;I am not able to see the image you have uploaded, can you please check it again if you are able to see it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have always seen show frequency option disabled for associating fields (Key Fields). &lt;/P&gt;&lt;P&gt;Qlikview explains that there could be ambiguity when field is in different tables.&lt;/P&gt;&lt;P&gt;However, There may be something missing which I have never seen because there are some behaviors in Qlikview which are not documented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, please share the image again, or if possible share the application (will help me to catch whole scenario).&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 09:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343979#M127007</guid>
      <dc:creator />
      <dc:date>2012-04-20T09:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343980#M127008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;i sorry i don't speak english very but i want to gives my view. It is not possible to use the function count on Primary Key in Qlikview. You can use count on another field of a table but not on the Primary Key, do not forget it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 09:33:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343980#M127008</guid>
      <dc:creator />
      <dc:date>2012-04-20T09:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343981#M127009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;But we can use count on primary key....&lt;/P&gt;&lt;P&gt;e.g. : if my table contains Order_Id as primary key then using count(Order_Id) i can get number of orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 09:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343981#M127009</guid>
      <dc:creator />
      <dc:date>2012-04-20T09:47:34Z</dc:date>
    </item>
    <item>
      <title>Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343982#M127010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry.... but the print screen is not coming clear....&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&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;yojas &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 09:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343982#M127010</guid>
      <dc:creator />
      <dc:date>2012-04-20T09:53:22Z</dc:date>
    </item>
    <item>
      <title>Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343983#M127011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As per reference manual version 10 page no. (book 1 pg 472) (you can search using 'Frequencies'), &lt;/P&gt;&lt;P&gt;it is written that count function can not be used on the key fields (associating fields). While, I have seen that in some scenrios it works, so it is basically based on the ambiguity if it exists then this function will not work or else it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, showing frequencies, I have never seen to work on key fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 09:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343983#M127011</guid>
      <dc:creator />
      <dc:date>2012-04-20T09:57:33Z</dc:date>
    </item>
    <item>
      <title>Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343984#M127012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;okay, but can't you attach the app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 09:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343984#M127012</guid>
      <dc:creator />
      <dc:date>2012-04-20T09:58:11Z</dc:date>
    </item>
    <item>
      <title>Count function on Primary key</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343985#M127013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I am not able to send my QlikView application ...in the attachment it is asking only for Web URL.... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 10:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-on-Primary-key/m-p/343985#M127013</guid>
      <dc:creator />
      <dc:date>2012-04-20T10:08:57Z</dc:date>
    </item>
  </channel>
</rss>

