<?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: Calculate decile/quartile/quintile etc when data is aggregated. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439098#M431988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.1),1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.2),2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.3),3,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.4),4,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.5),5,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.6),6,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.7),7,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.8),8,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.9),9,10)))))))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Also, are you using this as an expression or a dimension? If this is an dimension, then try this&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000;"&gt;Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.1),1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.2),2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.3),3,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.4),4,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.5),5,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.6),6,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.7),7,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.8),8,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.9),9,10)))))))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;, Student)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Oct 2017 11:30:55 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-10-26T11:30:55Z</dc:date>
    <item>
      <title>Calculate decile/quartile/quintile etc when data is aggregated.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439097#M431987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I've looked through the help and Community pages but can't find a solution to my issue.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I'm attempting to find the decile position of a Course of the average Mark for students on a Course.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Using dummy data with just one value per course it works absolutely perfectly with the following;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.1),1,&lt;/P&gt;&lt;P&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.2),2,&lt;/P&gt;&lt;P&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.3),3,&lt;/P&gt;&lt;P&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.4),4,&lt;/P&gt;&lt;P&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.5),5,&lt;/P&gt;&lt;P&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.6),6,&lt;/P&gt;&lt;P&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.7),7,&lt;/P&gt;&lt;P&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.8),8,&lt;/P&gt;&lt;P&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.9),9,10)))))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;In my real data the expression needs to be Avg(Mark) to calculate the average for all students on the course&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;if(Avg(Mark)&amp;lt;=Fractile(TOTAL Avg(Mark),0.1),1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;if(Avg(Mark)&amp;lt;=Fractile(TOTAL Avg(Mark),0.2),2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;if(Avg(Mark)&amp;lt;=Fractile(TOTAL Avg(Mark),0.3),3,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;if(Avg(Mark)&amp;lt;=Fractile(TOTAL Avg(Mark),0.4),4,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;if(Avg(Mark)&amp;lt;=Fractile(TOTAL Avg(Mark),0.5),5,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;if(Avg(Mark)&amp;lt;=Fractile(TOTAL Avg(Mark),0.6),6,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;if(Avg(Mark)&amp;lt;=Fractile(TOTAL Avg(Mark),0.7),7,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;if(Avg(Mark)&amp;lt;=Fractile(TOTAL Avg(Mark),0.8),8,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;if(Avg(Mark)&amp;lt;=Fractile(TOTAL Avg(Mark),0.9),9,10)))))))))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Arial, sans-serif;"&gt;This gives every Course a value of 10, the final False value above. My thinking so far is that I need to add in Aggr somewhere but everything I've tried has failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: #000000;"&gt;Any suggestions would be very gratefully received.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: #000000;"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;SPAN style="color: #000000;"&gt;John&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 11:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439097#M431987</guid>
      <dc:creator>ljdlumley</dc:creator>
      <dc:date>2017-10-26T11:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate decile/quartile/quintile etc when data is aggregated.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439098#M431988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.1),1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.2),2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.3),3,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.4),4,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.5),5,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.6),6,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.7),7,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.8),8,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.9),9,10)))))))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Also, are you using this as an expression or a dimension? If this is an dimension, then try this&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000;"&gt;Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.1),1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.2),2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.3),3,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.4),4,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.5),5,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.6),6,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.7),7,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.8),8,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;if(Avg(Mark) &amp;lt;= Fractile(TOTAL Aggr(Avg(Mark), Student), 0.9),9,10)))))))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;, Student)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 11:30:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439098#M431988</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-26T11:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate decile/quartile/quintile etc when data is aggregated.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439099#M431989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John using Avg(Total Marks, Course) should help get you towards it I would have thought&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or in the script &lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.1),1,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.2),2,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.3),3,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.4),4,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.5),5,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.6),6,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.7),7,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.8),8,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Mark&amp;lt;=Fractile(TOTAL Mark,0.9),9,10)))))))));&lt;/P&gt;&lt;P&gt;Load Course, Avg(Mark) as Mark&lt;/P&gt;&lt;P&gt;Resident Data Group by Course&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 11:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439099#M431989</guid>
      <dc:creator>bmesolutions</dc:creator>
      <dc:date>2017-10-27T11:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate decile/quartile/quintile etc when data is aggregated.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439100#M431990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Preceding load will not work as you are using another aggregation (Fractile) without a group by. Also, I don't think there is such a thing as TOTAL in the script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 11:59:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439100#M431990</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-27T11:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate decile/quartile/quintile etc when data is aggregated.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439101#M431991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry TOTAL Mark won't work in the script,&amp;nbsp; but that could be calculated and placed into a variable (or each Fractile could be placed into its own variable then referenced in the script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 12:04:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439101#M431991</guid>
      <dc:creator>bmesolutions</dc:creator>
      <dc:date>2017-10-27T12:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate decile/quartile/quintile etc when data is aggregated.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439102#M431992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its going to be slightly more complicated then you are portraying, but it depends on what OP wants to do here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 12:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439102#M431992</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-27T12:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate decile/quartile/quintile etc when data is aggregated.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439103#M431993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny, I was using it in an expression so went with the first part. It didn't work aggregating at student level but when I substituted in Course it gave me the results I was expecting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 10:54:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439103#M431993</guid>
      <dc:creator>ljdlumley</dc:creator>
      <dc:date>2017-10-30T10:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate decile/quartile/quintile etc when data is aggregated.</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439104#M431994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dave, hopefully this is just a one off so am going with what seems to be the simpler option. I might need to come back to you sometime in the future about adding expressions into variables!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 10:55:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-decile-quartile-quintile-etc-when-data-is-aggregated/m-p/1439104#M431994</guid>
      <dc:creator>ljdlumley</dc:creator>
      <dc:date>2017-10-30T10:55:54Z</dc:date>
    </item>
  </channel>
</rss>

