<?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 How to count items in a chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-count-items-in-a-chart/m-p/180672#M47004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a screen shot of the problem I'm having. This hopefully should be more clear:&lt;/P&gt;&lt;P&gt;the total 188 is not correct and I'm not sure what this figure is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/5164.Counting.jpg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/5164.Counting.jpg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Below are 2 more screen shots. dwilson should have 36 unique Purchase Orders and sidzan should have 2 unique purchase orders. I want the above chart to display all 6 Users with the correct total unique Purchase Orders on each line. right not it's showing 188 for all users which is not correct.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/0602.Counting2.jpg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/0602.Counting2.jpg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/5670.Counting3.jpg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/5670.Counting3.jpg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Dec 2009 00:54:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-10T00:54:21Z</dc:date>
    <item>
      <title>How to count items in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-items-in-a-chart/m-p/180669#M47001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a very simple function that I can't figure out in Qliview. Easy to do in cognos but been spinning my wheels in qlikview.&lt;/P&gt;&lt;P&gt;I have a dimension field (purchase orders) that I want to count. Basically if I have the following purhase orders:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PO 1234&lt;/P&gt;&lt;P&gt;PO 1212&lt;/P&gt;&lt;P&gt;PO 1329&lt;/P&gt;&lt;P&gt;PO 2456&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ant to add a calculazted dimension so that I can get a result of 4. In cognos i'd do something like&lt;/P&gt;&lt;P&gt;count (Purchase_Order). In qlikview i get the msg // Error in calculated dimension when I used the following expression: =TextCount (distinct PO)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 07:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-items-in-a-chart/m-p/180669#M47001</guid>
      <dc:creator />
      <dc:date>2009-12-09T07:38:31Z</dc:date>
    </item>
    <item>
      <title>How to count items in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-items-in-a-chart/m-p/180670#M47002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView won't let you do aggregations like count() in a calculated dimension without using aggr(). But aggr() requires you to aggregate BY something. You could fake it out by adding, say, a "total" field with no value disconnected from your data model, and do aggr(count(distinct PO),total)). But that really just begs the question of why you're making this a dimension in the first place if you only want a single row of data.&lt;/P&gt;&lt;P&gt;So what it sounds like you REALLY want is a table with NO dimension, and count(distinct PO) as an EXPRESSION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 08:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-items-in-a-chart/m-p/180670#M47002</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-12-09T08:29:18Z</dc:date>
    </item>
    <item>
      <title>How to count items in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-items-in-a-chart/m-p/180671#M47003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I was approaching it the wrong way. What I want to do is to create a count of my purchase orders in my EXPRESSIONS.&lt;/P&gt;&lt;P&gt;So I have a Pivot Table with two dimensions (SITE and USER). I guess you can call these the grouped fields.&lt;/P&gt;&lt;P&gt;How do I count the total number of purchase orders as an Expression? I'm sure it's simple to do, but can figure it out in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Site Users PO_count QTY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 00:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-items-in-a-chart/m-p/180671#M47003</guid>
      <dc:creator />
      <dc:date>2009-12-10T00:29:18Z</dc:date>
    </item>
    <item>
      <title>How to count items in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-items-in-a-chart/m-p/180672#M47004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a screen shot of the problem I'm having. This hopefully should be more clear:&lt;/P&gt;&lt;P&gt;the total 188 is not correct and I'm not sure what this figure is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/5164.Counting.jpg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/5164.Counting.jpg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Below are 2 more screen shots. dwilson should have 36 unique Purchase Orders and sidzan should have 2 unique purchase orders. I want the above chart to display all 6 Users with the correct total unique Purchase Orders on each line. right not it's showing 188 for all users which is not correct.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/0602.Counting2.jpg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/0602.Counting2.jpg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/5670.Counting3.jpg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/5670.Counting3.jpg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 00:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-items-in-a-chart/m-p/180672#M47004</guid>
      <dc:creator />
      <dc:date>2009-12-10T00:54:21Z</dc:date>
    </item>
    <item>
      <title>How to count items in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-items-in-a-chart/m-p/180673#M47005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;John Witherspoon wrote: So what it sounds like you REALLY want is a table with NO dimension, and &lt;STRONG&gt;count(distinct PO)&lt;/STRONG&gt; as an EXPRESSION.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 01:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-items-in-a-chart/m-p/180673#M47005</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-12-10T01:02:51Z</dc:date>
    </item>
    <item>
      <title>How to count items in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-items-in-a-chart/m-p/180674#M47006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Uh... thanks. Can't believe I didn't try that. but I guess I just had a brain fart. Your help is much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 01:28:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-items-in-a-chart/m-p/180674#M47006</guid>
      <dc:creator />
      <dc:date>2009-12-10T01:28:26Z</dc:date>
    </item>
  </channel>
</rss>

