<?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 CREATE DIMENSION from =Aggr(Count(Distinct Year),Customer) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/CREATE-DIMENSION-from-Aggr-Count-Distinct-Year-Customer/m-p/251812#M1206630</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies for the ambiguity.&lt;/P&gt;&lt;P&gt;I have a list of clients and sales over 3 years and 10 sales divisions.&lt;/P&gt;&lt;P&gt;The end result I want is to create a chart/pie chart that shows:&lt;/P&gt;&lt;P&gt;sales of clients who have dealt with all 10 divisions,&lt;BR /&gt;sales of clients who have dealth with 9 divisions,&lt;BR /&gt;sales of clients who have dealth with 8 divisions,&lt;BR /&gt;sales of clients who have dealth with 7 divisions etc....&lt;/P&gt;&lt;P&gt;I used the aggr(count(distinct division), client) to create the appropriate buckets in a LIST BOX but i'd now like to create a new field named 'Clients and number of divisions'. This would presumably allow me to create a pie chart with each slice being 10,9,8,7...etc.&lt;/P&gt;&lt;P&gt;If I write this into the script, I'm wondering what the syntax would be or if there is a better solution that would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Apr 2010 17:03:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-16T17:03:02Z</dc:date>
    <item>
      <title>CREATE DIMENSION from =Aggr(Count(Distinct Year),Customer)</title>
      <link>https://community.qlik.com/t5/QlikView/CREATE-DIMENSION-from-Aggr-Count-Distinct-Year-Customer/m-p/251810#M1206628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(Count(Distinct Year),Customer)&lt;/P&gt;&lt;P&gt;From this expression, I've created buckets where you have customers with 0,1,2,3, years of business.&lt;/P&gt;&lt;P&gt;Now I would like to create a pie chart with these buckets with the dimension being the distinct years. How would I go about doing this? Thank y ou in advance.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 14:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CREATE-DIMENSION-from-Aggr-Count-Distinct-Year-Customer/m-p/251810#M1206628</guid>
      <dc:creator />
      <dc:date>2010-04-16T14:40:24Z</dc:date>
    </item>
    <item>
      <title>CREATE DIMENSION from =Aggr(Count(Distinct Year),Customer)</title>
      <link>https://community.qlik.com/t5/QlikView/CREATE-DIMENSION-from-Aggr-Count-Distinct-Year-Customer/m-p/251811#M1206629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Could you explain a little bit more what you ar trying to achieve.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Darius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 16:43:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CREATE-DIMENSION-from-Aggr-Count-Distinct-Year-Customer/m-p/251811#M1206629</guid>
      <dc:creator>d_pranskus</dc:creator>
      <dc:date>2010-04-16T16:43:20Z</dc:date>
    </item>
    <item>
      <title>CREATE DIMENSION from =Aggr(Count(Distinct Year),Customer)</title>
      <link>https://community.qlik.com/t5/QlikView/CREATE-DIMENSION-from-Aggr-Count-Distinct-Year-Customer/m-p/251812#M1206630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies for the ambiguity.&lt;/P&gt;&lt;P&gt;I have a list of clients and sales over 3 years and 10 sales divisions.&lt;/P&gt;&lt;P&gt;The end result I want is to create a chart/pie chart that shows:&lt;/P&gt;&lt;P&gt;sales of clients who have dealt with all 10 divisions,&lt;BR /&gt;sales of clients who have dealth with 9 divisions,&lt;BR /&gt;sales of clients who have dealth with 8 divisions,&lt;BR /&gt;sales of clients who have dealth with 7 divisions etc....&lt;/P&gt;&lt;P&gt;I used the aggr(count(distinct division), client) to create the appropriate buckets in a LIST BOX but i'd now like to create a new field named 'Clients and number of divisions'. This would presumably allow me to create a pie chart with each slice being 10,9,8,7...etc.&lt;/P&gt;&lt;P&gt;If I write this into the script, I'm wondering what the syntax would be or if there is a better solution that would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 17:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CREATE-DIMENSION-from-Aggr-Count-Distinct-Year-Customer/m-p/251812#M1206630</guid>
      <dc:creator />
      <dc:date>2010-04-16T17:03:02Z</dc:date>
    </item>
    <item>
      <title>CREATE DIMENSION from =Aggr(Count(Distinct Year),Customer)</title>
      <link>https://community.qlik.com/t5/QlikView/CREATE-DIMENSION-from-Aggr-Count-Distinct-Year-Customer/m-p/251813#M1206631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi henrynoh,&lt;/P&gt;&lt;P&gt;view atteched file.&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 18:13:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CREATE-DIMENSION-from-Aggr-Count-Distinct-Year-Customer/m-p/251813#M1206631</guid>
      <dc:creator />
      <dc:date>2010-04-16T18:13:49Z</dc:date>
    </item>
    <item>
      <title>CREATE DIMENSION from =Aggr(Count(Distinct Year),Customer)</title>
      <link>https://community.qlik.com/t5/QlikView/CREATE-DIMENSION-from-Aggr-Count-Distinct-Year-Customer/m-p/251814#M1206632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! This is precisely what I was looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 18:40:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CREATE-DIMENSION-from-Aggr-Count-Distinct-Year-Customer/m-p/251814#M1206632</guid>
      <dc:creator />
      <dc:date>2010-04-16T18:40:15Z</dc:date>
    </item>
  </channel>
</rss>

