<?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 Problem with Count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-Count/m-p/266554#M100152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using an expression to count how many times the word "Alto" appears in my collumn "H1".&lt;BR /&gt;For this, I'm using the follow expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Alta: ' &amp;amp; round(Count({$&amp;lt;[H1] = {'Alto'}&amp;gt;} [H1])/count(Company) * 100,0.01) &amp;amp; ' %'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it's working perfectly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I try to do the same thing, in order to count how many times the word "Alto" appears in the collumn "H2" it is working wrong.&lt;/P&gt;&lt;P&gt;The expression that I'm using is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Alta: ' &amp;amp; round(Count({$&amp;lt;[H2] = {'Alto'}&amp;gt;} [H2])/count(Company) * 100,0.01) &amp;amp; ' %'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of (Count({$&amp;lt;[H2] = {'Alto'}&amp;gt;} [H2])) is supposed to be 19, but It's giving me the result of 9. and the same thing is happening with the collumn H3.&lt;/P&gt;&lt;P&gt;Insted of show me the value of 13 in the collumn H3, it is showing me the value og 9, exactly the same as the H2.&lt;BR /&gt;What is going on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your attention, &lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jun 2011 12:43:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-06T12:43:23Z</dc:date>
    <item>
      <title>Problem with Count</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Count/m-p/266554#M100152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using an expression to count how many times the word "Alto" appears in my collumn "H1".&lt;BR /&gt;For this, I'm using the follow expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Alta: ' &amp;amp; round(Count({$&amp;lt;[H1] = {'Alto'}&amp;gt;} [H1])/count(Company) * 100,0.01) &amp;amp; ' %'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it's working perfectly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I try to do the same thing, in order to count how many times the word "Alto" appears in the collumn "H2" it is working wrong.&lt;/P&gt;&lt;P&gt;The expression that I'm using is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Alta: ' &amp;amp; round(Count({$&amp;lt;[H2] = {'Alto'}&amp;gt;} [H2])/count(Company) * 100,0.01) &amp;amp; ' %'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of (Count({$&amp;lt;[H2] = {'Alto'}&amp;gt;} [H2])) is supposed to be 19, but It's giving me the result of 9. and the same thing is happening with the collumn H3.&lt;/P&gt;&lt;P&gt;Insted of show me the value of 13 in the collumn H3, it is showing me the value og 9, exactly the same as the H2.&lt;BR /&gt;What is going on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your attention, &lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 12:43:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Count/m-p/266554#M100152</guid>
      <dc:creator />
      <dc:date>2011-06-06T12:43:23Z</dc:date>
    </item>
    <item>
      <title>Problem with Count</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Count/m-p/266555#M100153</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;maybe you have something selected in your document which is causing this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dollar sign $ that you have as the first sign in your set identifier is telling qlikview to apply the current selections. remove this and see if your results are different.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 12:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Count/m-p/266555#M100153</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-06-06T12:58:42Z</dc:date>
    </item>
    <item>
      <title>Problem with Count</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Count/m-p/266556#M100154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You can use the following expression with H1= and H2= .&lt;/P&gt;&lt;P&gt;This way your count in H2 is not depending in your H1 and H3 selections:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #800080; font-size: 8pt;"&gt;&lt;STRONG style="color: #800080; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #800080; font-size: 8pt;"&gt;&lt;STRONG style="color: #800080; font-size: 8pt;"&gt;&lt;STRONG style=": ; color: #800080; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;round(Count({$&amp;lt;[H2] = {'Alto'}, H1=, H3=&amp;gt;} [H2])) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 13:24:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Count/m-p/266556#M100154</guid>
      <dc:creator>patricio</dc:creator>
      <dc:date>2011-06-06T13:24:06Z</dc:date>
    </item>
  </channel>
</rss>

