<?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 Decile or Fractile Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Decile-or-Fractile-Issue/m-p/923066#M468997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do a decile or Fractile analysis.&lt;/P&gt;&lt;P&gt;Consumers will be divided into 10 groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the segmentation, consumers will rank by their profits first.&lt;/P&gt;&lt;P&gt;first group contributes 10% profits to the total Profilts.&lt;/P&gt;&lt;P&gt;then the table will show how many consumers contribute the first 10% profits.&lt;/P&gt;&lt;P&gt;Second one contributes next 10% profits to the total profits.&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find one formula from other discussion.&lt;/P&gt;&lt;P&gt;=if(&lt;/P&gt;&lt;P&gt;Profit &amp;lt;= fractile(TOTAL Profit, 0.1), '90-100%',&lt;/P&gt;&lt;P&gt; if(Profit &amp;lt;= fractile(TOTAL Profit, 0.2), '80-90%',&lt;/P&gt;&lt;P&gt; if(Profit &amp;lt;= fractile(TOTAL Profit, 0.3), '70-80%',&lt;/P&gt;&lt;P&gt; if(Profit &amp;lt;= fractile(TOTAL Profit, 0.4), '60-70%',&lt;/P&gt;&lt;P&gt; if(Profit &amp;lt;= fractile(TOTAL Profit, 0.5), '50-60%',&lt;/P&gt;&lt;P&gt; if(Profit &amp;lt;= fractile(TOTAL Profit, 0.6), '40-50%',&lt;/P&gt;&lt;P&gt; if(Profit &amp;lt;= fractile(TOTAL Profit, 0.7), '30-40%',&lt;/P&gt;&lt;P&gt; if(Profit &amp;lt;= fractile(TOTAL Profit, 0.8), '20-30%',&lt;/P&gt;&lt;P&gt; if(Profit &amp;lt;= fractile(TOTAL Profit, 0.9), '10-20%', '0-10%')))))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this formula didn't rank the consumers first.&lt;/P&gt;&lt;P&gt;for the attach qv, you can find the customer number in 0-10% group is 1748 but from the table right, you can find the correct number should be 289 if &lt;SPAN style="font-size: 13.3333330154419px;"&gt;rank the &lt;SPAN style="font-size: 13.3333330154419px;"&gt;customer by profit &lt;/SPAN&gt;first.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/94671_Capture.PNG" style="height: 259px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any expert who can help fix the issue and help me find the right way out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2015 06:55:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-31T06:55:29Z</dc:date>
    <item>
      <title>Decile or Fractile Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Decile-or-Fractile-Issue/m-p/923066#M468997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do a decile or Fractile analysis.&lt;/P&gt;&lt;P&gt;Consumers will be divided into 10 groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the segmentation, consumers will rank by their profits first.&lt;/P&gt;&lt;P&gt;first group contributes 10% profits to the total Profilts.&lt;/P&gt;&lt;P&gt;then the table will show how many consumers contribute the first 10% profits.&lt;/P&gt;&lt;P&gt;Second one contributes next 10% profits to the total profits.&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find one formula from other discussion.&lt;/P&gt;&lt;P&gt;=if(&lt;/P&gt;&lt;P&gt;Profit &amp;lt;= fractile(TOTAL Profit, 0.1), '90-100%',&lt;/P&gt;&lt;P&gt; if(Profit &amp;lt;= fractile(TOTAL Profit, 0.2), '80-90%',&lt;/P&gt;&lt;P&gt; if(Profit &amp;lt;= fractile(TOTAL Profit, 0.3), '70-80%',&lt;/P&gt;&lt;P&gt; if(Profit &amp;lt;= fractile(TOTAL Profit, 0.4), '60-70%',&lt;/P&gt;&lt;P&gt; if(Profit &amp;lt;= fractile(TOTAL Profit, 0.5), '50-60%',&lt;/P&gt;&lt;P&gt; if(Profit &amp;lt;= fractile(TOTAL Profit, 0.6), '40-50%',&lt;/P&gt;&lt;P&gt; if(Profit &amp;lt;= fractile(TOTAL Profit, 0.7), '30-40%',&lt;/P&gt;&lt;P&gt; if(Profit &amp;lt;= fractile(TOTAL Profit, 0.8), '20-30%',&lt;/P&gt;&lt;P&gt; if(Profit &amp;lt;= fractile(TOTAL Profit, 0.9), '10-20%', '0-10%')))))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this formula didn't rank the consumers first.&lt;/P&gt;&lt;P&gt;for the attach qv, you can find the customer number in 0-10% group is 1748 but from the table right, you can find the correct number should be 289 if &lt;SPAN style="font-size: 13.3333330154419px;"&gt;rank the &lt;SPAN style="font-size: 13.3333330154419px;"&gt;customer by profit &lt;/SPAN&gt;first.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/94671_Capture.PNG" style="height: 259px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any expert who can help fix the issue and help me find the right way out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 06:55:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decile-or-Fractile-Issue/m-p/923066#M468997</guid>
      <dc:creator />
      <dc:date>2015-07-31T06:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Contribution Table</title>
      <link>https://community.qlik.com/t5/QlikView/Decile-or-Fractile-Issue/m-p/923067#M468998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this expression&amp;nbsp; &lt;STRONG&gt;sum( Sales) / Sum(TOTAL sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a new pivot table with one&amp;nbsp; dimension.&lt;/P&gt;&lt;P&gt;2. Add the following expressions:&lt;/P&gt;&lt;P&gt;Sales $ Sum(Sales)&lt;/P&gt;&lt;P&gt;Total Sales % Sum(Sales) / Sum(TOTAL Sales)&lt;/P&gt;&lt;P&gt;% Sales by&lt;/P&gt;&lt;P&gt;Country Sum(Sales) / Sum(TOTAL&amp;lt;Country&amp;gt; Sales)&lt;/P&gt;&lt;P&gt;3. On the Presentation tab, select the&amp;nbsp; dimension and turn on Show Partial Sums.&lt;/P&gt;&lt;P&gt;4. On the Number tab, set the format for the first expression to Integer. Set the second&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and third expression to Fixed to 2 decimals, and turn on Show in Percent (%).&lt;/P&gt;&lt;P&gt;5. Click on Finish to save the chart.&lt;/P&gt;&lt;P&gt;6. Right-click on the Country field in the pivot table, and select Expand all from the&lt;/P&gt;&lt;P&gt;menu to show all the cities:&lt;/P&gt;&lt;P&gt;7. Resize the chart to see all of the values.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;HTH&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 07:06:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decile-or-Fractile-Issue/m-p/923067#M468998</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2015-07-31T07:06:13Z</dc:date>
    </item>
  </channel>
</rss>

