<?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 Qliksense use valuelist, aggr() and count() in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951649#M13504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, here is my second challenge of the day.... being a relative freshman in Sense.&lt;/P&gt;&lt;P&gt;I need a barchart of customers with a total turnover over 50k, 20-50k and 0-20k. The bar should show total turnover in that categorie and I would also like to show the number of customers that build up the total revenue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The categories are made with a valuelist, but how can I get the aggregate for each categorie and the count of customers in it??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help, again....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Nov 2015 14:25:59 GMT</pubDate>
    <dc:creator>andre_ficken</dc:creator>
    <dc:date>2015-11-20T14:25:59Z</dc:date>
    <item>
      <title>Qliksense use valuelist, aggr() and count()</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951649#M13504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, here is my second challenge of the day.... being a relative freshman in Sense.&lt;/P&gt;&lt;P&gt;I need a barchart of customers with a total turnover over 50k, 20-50k and 0-20k. The bar should show total turnover in that categorie and I would also like to show the number of customers that build up the total revenue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The categories are made with a valuelist, but how can I get the aggregate for each categorie and the count of customers in it??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help, again....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 14:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951649#M13504</guid>
      <dc:creator>andre_ficken</dc:creator>
      <dc:date>2015-11-20T14:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense use valuelist, aggr() and count()</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951650#M13505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try a calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(&lt;/P&gt;&lt;P&gt;if(Sum(TurnOver) &amp;lt;= 20000, Dual('0-20k',1), if(Sum(TurnOver) &amp;lt;=50000,Dual('20-50k',2), Dual('50+k',3))&lt;/P&gt;&lt;P&gt;,&amp;nbsp; Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then as expression&lt;/P&gt;&lt;P&gt;=Count(Distinct Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resp. &lt;/P&gt;&lt;P&gt;=Sum(TurnOver)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 15:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951650#M13505</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-20T15:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense use valuelist, aggr() and count()</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951651#M13506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my chart dimension is : valuelist('0-20k','20-50k','50+k')&lt;/P&gt;&lt;P&gt;what do I put in the expression of the turnover calculation??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MY current turnover calculation is:&lt;/P&gt;&lt;P&gt;//Sum( {$&amp;lt; [.Product] -= {'Reiskosten'}, &lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Bedrijfsnaam] -= {'*Impulsus*','*SCOPE*','*CiEP*'},&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Productsoort] -= {'Materialen voor de klant','*Intern*','*S&amp;amp;F*'} &lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;} [Bedrag])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where [Bedrag] is the turnover. The otherlines are registered amounts that do not count as turnover.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following your previous message gives me a expression error on the aggr() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 15:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951651#M13506</guid>
      <dc:creator>andre_ficken</dc:creator>
      <dc:date>2015-11-20T15:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense use valuelist, aggr() and count()</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951652#M13507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I missed a closing bracket in the second line, please try again:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;=Aggr(&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;if(Sum(TurnOver) &amp;lt;= 20000, Dual('0-20k',1), if(Sum(TurnOver) &amp;lt;=50000,Dual('20-50k',2), Dual('50+k',3&lt;STRONG&gt;)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;,&amp;nbsp; Customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 15:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951652#M13507</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-20T15:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense use valuelist, aggr() and count()</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951653#M13508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the turnover categories have worked as a treat!! Great sofar and thanks for the help...&lt;/P&gt;&lt;P&gt;1 wish remains still:&amp;nbsp; Show the number of customers in the graph with each of the 3 categories.&lt;/P&gt;&lt;P&gt;Do you know if this is possible too??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:06:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951653#M13508</guid>
      <dc:creator>andre_ficken</dc:creator>
      <dc:date>2015-11-20T16:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense use valuelist, aggr() and count()</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951654#M13509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Count(Distinct Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951654#M13509</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-20T16:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense use valuelist, aggr() and count()</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951655#M13510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the count(distinct) wil then replace the sum(turnover) ? But that is not what I meant... I would like to plot the turnover AND at the same time I&amp;nbsp; would like to show just the count(distinct customers) that build that particular turnover total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:23:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951655#M13510</guid>
      <dc:creator>andre_ficken</dc:creator>
      <dc:date>2015-11-20T16:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense use valuelist, aggr() and count()</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951656#M13511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about creating two expressions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:52:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-use-valuelist-aggr-and-count/m-p/951656#M13511</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-20T16:52:53Z</dc:date>
    </item>
  </channel>
</rss>

