<?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: Decile analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Decile-analysis/m-p/1223945#M871869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this as your calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.1), 10,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.2), 9,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.3), 8,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.4), 7,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.5), 6,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.6), 5,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.7), 4,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.8), 3,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.9), 2, 1))))))))), Customer)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="143419" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143419_Capture.PNG" style="height: 180px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Nov 2016 16:56:38 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-11-09T16:56:38Z</dc:date>
    <item>
      <title>Decile analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Decile-analysis/m-p/1223944#M871868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: auto 0px;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman';"&gt;I would like some assistance on Decile analysis to segment 211customers into 10 equal parts based on profits.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: auto 0px;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; font-size: 12pt; mso-fareast-font-family: 'Times New Roman';"&gt;&lt;SPAN style="color: #000000;"&gt;I followed an example posted by Barry at the link &lt;/SPAN&gt;&lt;A href="http://www.qlikfix.com/2010/10/08/decile-analysis/" target="_blank"&gt;&lt;SPAN style="color: #0563c1; text-decoration: underline;"&gt;http://www.qlikfix.com/2010/10/08/decile-analysis/&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman';"&gt;Everything works except my customers are not equally segmented. I was expecting to see 21 customers per segment. It appears most customers appears in more than one segment. I would appreciated if some review attached app and suggest a fix.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decile-analysis/m-p/1223944#M871868</guid>
      <dc:creator>hdemissie</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Decile analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Decile-analysis/m-p/1223945#M871869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this as your calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.1), 10,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.2), 9,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.3), 8,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.4), 7,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.5), 6,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.6), 5,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.7), 4,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.8), 3,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Sum(Profit) &amp;lt;= fractile(TOTAL Aggr(Sum(Profit), Customer), 0.9), 2, 1))))))))), Customer)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="143419" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143419_Capture.PNG" style="height: 180px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 16:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decile-analysis/m-p/1223945#M871869</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-09T16:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Decile analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Decile-analysis/m-p/1223946#M871870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You so much. Your script worked. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 17:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decile-analysis/m-p/1223946#M871870</guid>
      <dc:creator>hdemissie</dc:creator>
      <dc:date>2016-11-09T17:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Decile analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Decile-analysis/m-p/1223947#M871871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome!!! Please close this thread by marking correct response if you got what you were looking for &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 17:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decile-analysis/m-p/1223947#M871871</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-09T17:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Decile analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Decile-analysis/m-p/1223948#M871872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richard - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am happy that you took time out of your busy schedule to mark my response as correct response, but I think it is important that you mark the response which is actual the correct response. The reason I say this is because other people might run into similar issues and will land on this thread for answers and we wouldn't want them to see my request to you for marking the correct response as the correct response. They should actually see the response which is actually correct. Together we can make this community a much better place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 02:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decile-analysis/m-p/1223948#M871872</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-10T02:19:03Z</dc:date>
    </item>
  </channel>
</rss>

