<?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 number of occurrences in a chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-number-of-occurrences-in-a-chart/m-p/1088533#M523447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Count(TOTAL &amp;lt;REMI&amp;gt; [Siti.COD_DISTRIBUTORE_GAS])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace REMI with its actually field name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2016 20:11:05 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-03-16T20:11:05Z</dc:date>
    <item>
      <title>Count number of occurrences in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Count-number-of-occurrences-in-a-chart/m-p/1088532#M523446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm trying to add a field in a chart to count the number of times a value in a specific field is repeated. This is what i have:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-985217-116291/pastedImage_0.png"&gt;&lt;IMG class="jive-image image-1" height="98" src="https://community.qlik.com/legacyfs/online/118272_pastedImage_0.png" width="579" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The field i'd like the value to be counted is "PDR" and, as you can see from the image, it's the same for both rows and what i need is a field that, in this case, gives me "2" as a result because the value contained in the "PDR" field is repeated twice.&lt;/P&gt;&lt;P&gt;I tried with the count distinct expression but it always returns "1" as a result, maybe i did something wrong (Siti.COD_DISTRIBUTORE_GAS it the complete name of the field labeled as "PDR" in the chart):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(DISTINCT [Siti.COD_DISTRIBUTORE_GAS])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Andrea&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 14:41:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-number-of-occurrences-in-a-chart/m-p/1088532#M523446</guid>
      <dc:creator>qv_bazz_10</dc:creator>
      <dc:date>2016-03-16T14:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of occurrences in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Count-number-of-occurrences-in-a-chart/m-p/1088533#M523447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Count(TOTAL &amp;lt;REMI&amp;gt; [Siti.COD_DISTRIBUTORE_GAS])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace REMI with its actually field name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 20:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-number-of-occurrences-in-a-chart/m-p/1088533#M523447</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-16T20:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of occurrences in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Count-number-of-occurrences-in-a-chart/m-p/1088534#M523448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it Sunny! I tried your expression and the result was not really the one i was looking for, so i inverted the two fields and it worked perfectly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much Sunny, have a nice day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Andrea&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 07:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-number-of-occurrences-in-a-chart/m-p/1088534#M523448</guid>
      <dc:creator>qv_bazz_10</dc:creator>
      <dc:date>2016-03-17T07:53:56Z</dc:date>
    </item>
  </channel>
</rss>

