<?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: Count customers that generate 80% in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395475#M561682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunattely i use version 10 and i still would like to show all customers that fall outside the 80% bracket as well but they must be flagged with a '0'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is so urgent for me now, any other idea to solve this flagging issue ?&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;&lt;/P&gt;&lt;P&gt;Louw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Apr 2013 03:24:36 GMT</pubDate>
    <dc:creator>louwriet</dc:creator>
    <dc:date>2013-04-01T03:24:36Z</dc:date>
    <item>
      <title>Count customers that generate 80%</title>
      <link>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395470#M561677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;In this thread &lt;A _jive_internal="true" href="https://community.qlik.com/message/160141#160141"&gt;http://community.qlik.com/message/160141#160141&lt;/A&gt;&amp;nbsp; i came accross a demo that show you how to get the TOP N% depending on the sliding bar that you set. This works great in my model to show how many customers generate 80% of the business - i count the customers as in demo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have a request to add another dimension Territory in so that the user can see per Territory how many customers generate 80% of business. This mean i must show all territories, and in each territory the customers in that territory makes up 100 % but it must show me also the 80% . I need to count these that makes up 80% of business&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a pivot i would work great if i can group it by territory. In the example i have a table (blue) and n pivot(red). In the table the split dont occur between territories to indicate which customers makes up 80% per territory. The pivot would work brilliant if i can get it rolled up to show 100% for each territory and when you expand it, it shows you the customer percentage split that makes up for instance 80% and down to 100% per territory. The whole exercise is to count the customers per territory that makes up 80% of business but also show you the rest of customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not possible in a pivot is there a way to do it in a table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help would really be appreciated, i am stuck with this now for a while.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Louw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 19:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395470#M561677</guid>
      <dc:creator>louwriet</dc:creator>
      <dc:date>2013-03-26T19:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Count customers that generate 80%</title>
      <link>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395471#M561678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Louwrie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with &amp;lt;SubTotal &amp;gt;. Is very useful with Pivot Tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the expression ""% Sales Cumulated"&lt;BR /&gt;If(&lt;BR /&gt;&amp;nbsp;&amp;nbsp; RowNo() = 1,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Sum([Sales Amount]),&lt;BR /&gt;&amp;nbsp;&amp;nbsp; RangeSum(Above(Sum([Sales Amount]), 0, RowNo()))&lt;BR /&gt;)&lt;BR /&gt;/&lt;BR /&gt;Sum(TOTAL &amp;lt;Territory&amp;gt; [Sales Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35553" class="jive-image-thumbnail jive-image" onclick="" alt="Pareto.png" src="https://community.qlik.com/legacyfs/online/35553_Pareto.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 20:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395471#M561678</guid>
      <dc:creator>montero91</dc:creator>
      <dc:date>2013-03-26T20:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Count customers that generate 80%</title>
      <link>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395472#M561679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manuel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply, i did use you &amp;lt;Territory&amp;gt; and this work great in the pivot. But i still need to count the customers in this territory that fall in the bracket of 80% for instance. I wrote the expression with aggr and this sum the total correct but flag pareto field is not flagging the correct customers so the sum is calculating the wrong customers. Only customers that falls into the bracket of 80% must be flagged with a 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum ( aggr ( If ( Rangesum ( Above ( sum ( [Sales Amount] ) ,0 , Rowno() )) /&amp;nbsp; sum ( Total &amp;lt;Territory&amp;gt; [Sales Amount]&amp;nbsp; ) &amp;lt;= v_Pareto_Persentage , 1 , 0) , Territory , Customer ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Louw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 08:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395472#M561679</guid>
      <dc:creator>louwriet</dc:creator>
      <dc:date>2013-03-28T08:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Count customers that generate 80%</title>
      <link>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395473#M561680</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;Does anyone have advise here i have tried several variations of AGGR but with no success. The total per territory of the column flag pareto is now correct but my if statement flag the wrong customers now. It must just flag the customers that falls in the 80% bracket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35830" class="jive-image-thumbnail jive-image" onclick="" alt="image.png" src="https://community.qlik.com/legacyfs/online/35830_image.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Louw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Mar 2013 13:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395473#M561680</guid>
      <dc:creator>louwriet</dc:creator>
      <dc:date>2013-03-31T13:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Count customers that generate 80%</title>
      <link>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395474#M561681</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you are using the version 11 and the chart type is Straight table, then you can try this by using Dimension limit option of the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here you can set the limit option as you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Mar 2013 18:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395474#M561681</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-31T18:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count customers that generate 80%</title>
      <link>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395475#M561682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunattely i use version 10 and i still would like to show all customers that fall outside the 80% bracket as well but they must be flagged with a '0'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is so urgent for me now, any other idea to solve this flagging issue ?&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;&lt;/P&gt;&lt;P&gt;Louw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 03:24:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395475#M561682</guid>
      <dc:creator>louwriet</dc:creator>
      <dc:date>2013-04-01T03:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Count customers that generate 80%</title>
      <link>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395476#M561683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Louwrie,&lt;/P&gt;&lt;P&gt;No I had understood what the Flag.&lt;/P&gt;&lt;P&gt;Try with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN lang="EN-US" style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;If&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;(&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;Above&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;[Sales Amount]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;), 0, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;())) / &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;Territory&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;[Sales Amount]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="color: gray; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;v_Pareto_Percentage&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;,&lt;BR /&gt; 1,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 0&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;But I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;recommend&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;use&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN lang="EN-US" style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;If&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt;[% Sales Cumulated]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-ansi-language: EN-US;"&gt; &amp;lt;= v_Pareto_Percentage,1,0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Aggr is useful in to calculated dimension, but this field is not an dimension, is an expression field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope, it is that you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="36013" class="jive-image-thumbnail jive-image jiveImage" onclick="" alt="Pareto.png" src="https://community.qlik.com/legacyfs/online/36013_Pareto.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 17:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395476#M561683</guid>
      <dc:creator>montero91</dc:creator>
      <dc:date>2013-04-03T17:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Count customers that generate 80%</title>
      <link>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395477#M561684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manuel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried your suggestion of&amp;nbsp;&amp;nbsp; if ([% Sales Cumulated] &amp;lt;= v_Pareto_Percentage, 1, 0)&amp;nbsp; but i am still looking for the correct total of&amp;nbsp; Flag Perto for the territory in the pivot.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the screenshot you posted the total of field Flag Pareto in territory north must be 2 and the south must be 4. That is why i was trying to use the Aggr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Louwrie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 20:16:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-customers-that-generate-80/m-p/395477#M561684</guid>
      <dc:creator>louwriet</dc:creator>
      <dc:date>2013-04-03T20:16:31Z</dc:date>
    </item>
  </channel>
</rss>

