<?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: How do I get a count for values in a field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745010#M266004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;because it is counting the word 'shirt' in the column clothes distinctly, which will always be 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2015 20:24:55 GMT</pubDate>
    <dc:creator>saurabh5</dc:creator>
    <dc:date>2015-01-06T20:24:55Z</dc:date>
    <item>
      <title>How do I get a count for values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745002#M265996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am developing an app and ran into a speed bump. I have an field that is "Clothes" and inside the field there is "Shirts, Pants, Shorts, and dresses."&lt;/P&gt;&lt;P&gt;How can I make a number count in a text box for each clothing article, so I can show the number of shirts, pants, etc.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know how to make a number count for Clothes but not for values inside of a field. If someone can assist that would be great - thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 19:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745002#M265996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-06T19:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a count for values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745003#M265997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use an expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(distinct {&amp;lt;clothes={'Shirts'}&amp;gt;}clothes).............for shirts&lt;/P&gt;&lt;P&gt;=count(distinct {&amp;lt;clothes={'Dresses'}&amp;gt;}clothes).............for Dresses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have a unique no. to count like item id then replace clothes by item id.&lt;/P&gt;&lt;P&gt;like:&lt;/P&gt;&lt;P&gt;=count(distinct {&amp;lt;clothes={'Shirts'}&amp;gt;}item_id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 19:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745003#M265997</guid>
      <dc:creator>saurabh5</dc:creator>
      <dc:date>2015-01-06T19:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a count for values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745004#M265998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A more efficient way would be to add the frequency to your list box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 19:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745004#M265998</guid>
      <dc:creator>NickHoff</dc:creator>
      <dc:date>2015-01-06T19:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a count for values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745005#M265999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would do that if need be, I can also make a bar graph and show each one too. I just want to be able to create these text boxes for the visualization I'm going for. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 20:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745005#M265999</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-06T20:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a count for values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745006#M266000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's only returning the number 1 back. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 20:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745006#M266000</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-06T20:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a count for values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745007#M266001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you have an id to make a count on if not....then please remove distinct from the expression it will give you the exact count.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 20:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745007#M266001</guid>
      <dc:creator>saurabh5</dc:creator>
      <dc:date>2015-01-06T20:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a count for values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745008#M266002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If using the text boxes is what your going for then what &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Saurabh suggested using count with the set of what your looking for, but without the distinct.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Keep in mind that when using text boxes they tend to off set several pixels between each object with different browsers which could ultimately hurt your visualization.&amp;nbsp; This is the case if your clients are still using a browser older than i.e. 9.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 20:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745008#M266002</guid>
      <dc:creator>NickHoff</dc:creator>
      <dc:date>2015-01-06T20:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a count for values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745009#M266003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's interesting you mentioned removing DISTINCT, because when I have distinct it only returns a value of 1. If I remove it, it counts properly. Why is it only returning a value instead of all non-duplicating values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 20:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745009#M266003</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-06T20:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a count for values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745010#M266004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;because it is counting the word 'shirt' in the column clothes distinctly, which will always be 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 20:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745010#M266004</guid>
      <dc:creator>saurabh5</dc:creator>
      <dc:date>2015-01-06T20:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a count for values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745011#M266005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, &lt;BR /&gt;What if I needed to format the numbers for a value in the thousands.&amp;nbsp; Where would I put -&amp;nbsp;&amp;nbsp;&amp;nbsp; '#,##0'&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(distinct {&amp;lt;clothes={'Shirts'}&amp;gt;}clothes)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 20:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745011#M266005</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-06T20:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a count for values in a field</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745012#M266006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=num(count({&amp;lt;clothes={'Shirts'}&amp;gt;}clothes),'#,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;You could also go into the number format tab and format the numbers there.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 20:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-a-count-for-values-in-a-field/m-p/745012#M266006</guid>
      <dc:creator>NickHoff</dc:creator>
      <dc:date>2015-01-06T20:50:49Z</dc:date>
    </item>
  </channel>
</rss>

