<?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: 20 / 80 Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/20-80-Calculation/m-p/840174#M295267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ouch. You are so good. Just excellent!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I do hope that you had that solution in your back pocket and did not figure it out from scratch in 3 minutes. Took me probably 5 minutes to write down the question...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2015 08:51:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-05-12T08:51:30Z</dc:date>
    <item>
      <title>20 / 80 Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/20-80-Calculation/m-p/840172#M295265</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;I have the need to calculate the following "The percentage of sales that my top 20% (number of) suppliers are responsible for".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A classical 20/80 check which is fairly simple to do in Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My challenge here is that I need this number over time as well, so basically a table like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year Month&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 20% Supplier Sales&amp;nbsp; | 100% Sales | Top 20% Suppler Share&lt;/P&gt;&lt;P&gt;201504&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 632&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp; 1000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 63,2%&lt;/P&gt;&lt;P&gt;201504&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 600&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 1200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 50%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not interested in which the top 20% suppliers are, so no need for the "Pareto"-selection button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is a dummy application, where I have excluded the complexity of "time", but where the end result would be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Year Month&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 20% Supplier Sales&amp;nbsp; | 100% Sales | Top 20% Suppler Share&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;XXXXX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 750&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp; 1520&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 49,34%&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;ANY ideas are appreciated.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Kind regards&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Niklas&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;PS Please, notice that I could achieve the result by using all needed dimensions, but I need to narrow it down to one fantastic aggr/sum/if/setanalyis/percentile-formula, which could be used without showing all suppliers/names etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 08:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/20-80-Calculation/m-p/840172#M295265</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-12T08:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: 20 / 80 Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/20-80-Calculation/m-p/840173#M295266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;Variable vTopX: =ceil(count(distinct Name)*0.20)&lt;/P&gt;&lt;P&gt;Expression: =num(sum({&amp;lt;Name={"=rank(sum(Amount))&amp;lt;=$(vTopX)"}&amp;gt;}Amount)/sum(Amount),'#.00%')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 08:35:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/20-80-Calculation/m-p/840173#M295266</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-12T08:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: 20 / 80 Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/20-80-Calculation/m-p/840174#M295267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ouch. You are so good. Just excellent!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I do hope that you had that solution in your back pocket and did not figure it out from scratch in 3 minutes. Took me probably 5 minutes to write down the question...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 08:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/20-80-Calculation/m-p/840174#M295267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-12T08:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: 20 / 80 Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/20-80-Calculation/m-p/840175#M295268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I make it more challenging and add the time dimension to the problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See updated attached file with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 11:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/20-80-Calculation/m-p/840175#M295268</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-12T11:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: 20 / 80 Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/20-80-Calculation/m-p/840176#M295269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw. Is that what you need?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 12:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/20-80-Calculation/m-p/840176#M295269</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-12T12:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: 20 / 80 Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/20-80-Calculation/m-p/840177#M295270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately not. That is cheating using the Name-dimension. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can only have Time and Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(We are actually talking about a couple of thousand "Names")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Over Time"-table is basically what I need, but with correct calculation(s) (disregard the "Top Names", which is just a test).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I have read I am a bit hesitant that set analysis will do the job over several rows, given that that will be an initial selection for the chart. Might have to revert to precalculations in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Please, do not overspend your valuable time on this problem unless you also find it interesting/challenging.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 12:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/20-80-Calculation/m-p/840177#M295270</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-12T12:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: 20 / 80 Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/20-80-Calculation/m-p/840178#M295271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. Just what i need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 10:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/20-80-Calculation/m-p/840178#M295271</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2015-06-07T10:31:25Z</dc:date>
    </item>
  </channel>
</rss>

