<?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: Fractile rounding in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217526#M858151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;Thank you, the mystery is revealed.&lt;/P&gt;&lt;P&gt;Now, the value I'd like to compute is the below aggregated analysis.&lt;/P&gt;&lt;P&gt;back on 1st dataset, this shows 15% with TAT 2, 62% with TAT 3,...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="185"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: none; border-right: none; border-bottom: 0.5pt solid #9bc2e6; border-left: none; background: #ddebf7;" width="92"&gt; TAT&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: none; border-right: none; border-bottom: 0.5pt solid #9bc2e6; border-left: none; background: #ddebf7;" width="93"&gt;% of items&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;2 &lt;/TD&gt;&lt;TD class="xl66"&gt;15%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;3 &lt;/TD&gt;&lt;TD class="xl66"&gt;62%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;4 &lt;/TD&gt;&lt;TD class="xl66"&gt;15%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;10&lt;/TD&gt;&lt;TD class="xl66"&gt;8%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;projecting a pareto as below, we see 90% meeting theoretical TAT of 3.87.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this is not a coherent statistical value, but do you know how this can be calculated in a Qlikview chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150640_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2017 11:38:57 GMT</pubDate>
    <dc:creator>mentrier</dc:creator>
    <dc:date>2017-01-24T11:38:57Z</dc:date>
    <item>
      <title>Fractile rounding</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217522#M858147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm often looking to these forums to get my Qlik questions answered, but could not find any appropriate solution for below one.&lt;/P&gt;&lt;P&gt;I'm using Fractile to measure some SLA performance &amp;amp; never get appropriate rounding beyond the integer digits.&lt;/P&gt;&lt;P&gt;as an example, see below data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;TAT&amp;nbsp; ,&amp;nbsp; item&lt;/P&gt;&lt;P&gt;2&amp;nbsp; ,&amp;nbsp; A&lt;/P&gt;&lt;P&gt;2&amp;nbsp; ,&amp;nbsp; B&lt;/P&gt;&lt;P&gt;3&amp;nbsp; ,&amp;nbsp; C&lt;/P&gt;&lt;P&gt;3&amp;nbsp; ,&amp;nbsp; D&lt;/P&gt;&lt;P&gt;3&amp;nbsp; ,&amp;nbsp; E&lt;/P&gt;&lt;P&gt;3&amp;nbsp; ,&amp;nbsp; F&lt;/P&gt;&lt;P&gt;3&amp;nbsp; ,&amp;nbsp; G&lt;/P&gt;&lt;P&gt;3&amp;nbsp; ,&amp;nbsp; H&lt;/P&gt;&lt;P&gt;3&amp;nbsp; ,&amp;nbsp; I&lt;/P&gt;&lt;P&gt;3&amp;nbsp; ,&amp;nbsp; J&lt;/P&gt;&lt;P&gt;4&amp;nbsp; ,&amp;nbsp; K&lt;/P&gt;&lt;P&gt;4&amp;nbsp; ,&amp;nbsp; L&lt;/P&gt;&lt;P&gt;10 ,&amp;nbsp; M&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;fractile (TAT, 0.9) returns 4.0 where it should be 3.5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;strange enough, changing one data (4,L to 5,L) as below, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;fractile (TAT, 0.9) returns 4.8, which is correct&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;TAT&amp;nbsp; ,&amp;nbsp; item&lt;/P&gt;&lt;P&gt;2&amp;nbsp; ,&amp;nbsp; A&lt;/P&gt;&lt;P&gt;2&amp;nbsp; ,&amp;nbsp; B&lt;/P&gt;&lt;P&gt;3&amp;nbsp; ,&amp;nbsp; C&lt;/P&gt;&lt;P&gt;3&amp;nbsp; ,&amp;nbsp; D&lt;/P&gt;&lt;P&gt;3&amp;nbsp; ,&amp;nbsp; E&lt;/P&gt;&lt;P&gt;3&amp;nbsp; ,&amp;nbsp; F&lt;/P&gt;&lt;P&gt;3&amp;nbsp; ,&amp;nbsp; G&lt;/P&gt;&lt;P&gt;3&amp;nbsp; ,&amp;nbsp; H&lt;/P&gt;&lt;P&gt;3&amp;nbsp; ,&amp;nbsp; I&lt;/P&gt;&lt;P&gt;3&amp;nbsp; ,&amp;nbsp; J&lt;/P&gt;&lt;P&gt;5&amp;nbsp; ,&amp;nbsp; K&lt;/P&gt;&lt;P&gt;4&amp;nbsp; ,&amp;nbsp; L&lt;/P&gt;&lt;P&gt;10 ,&amp;nbsp; M&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what am I doing wrong??&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/Fractile-rounding/m-p/1217522#M858147</guid>
      <dc:creator>mentrier</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile rounding</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217523#M858148</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;&lt;A href="https://community.qlik.com/docs/DOC-7328"&gt;Fractile() mystery revealed&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 22:52:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217523#M858148</guid>
      <dc:creator>el_aprendiz111</dc:creator>
      <dc:date>2017-01-23T22:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile rounding</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217524#M858149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See my response here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1029979"&gt;Re: What is the exactly calculation of the fractile function?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 02:09:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217524#M858149</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-24T02:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile rounding</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217525#M858150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look at Fractile X% I have, you will see that based on your first data set,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fractile 90% = (13 * 0.90) + (1-0.90) = 11.8 -&amp;gt; This means 11th Observation + (12th - 11th Observation) * 0.8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;11th obersvation = 4&lt;/P&gt;&lt;P&gt;12th observation = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, &lt;STRONG&gt;4 + ((4-4)* 8/10) = 4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second dataset&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;11th observation = 4&lt;/P&gt;&lt;P&gt;12 obervation = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, &lt;STRONG&gt;4 + ((5-4) * 8/10) = 4.8&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 02:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217525#M858150</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-24T02:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile rounding</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217526#M858151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;Thank you, the mystery is revealed.&lt;/P&gt;&lt;P&gt;Now, the value I'd like to compute is the below aggregated analysis.&lt;/P&gt;&lt;P&gt;back on 1st dataset, this shows 15% with TAT 2, 62% with TAT 3,...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="185"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: none; border-right: none; border-bottom: 0.5pt solid #9bc2e6; border-left: none; background: #ddebf7;" width="92"&gt; TAT&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: none; border-right: none; border-bottom: 0.5pt solid #9bc2e6; border-left: none; background: #ddebf7;" width="93"&gt;% of items&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;2 &lt;/TD&gt;&lt;TD class="xl66"&gt;15%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;3 &lt;/TD&gt;&lt;TD class="xl66"&gt;62%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;4 &lt;/TD&gt;&lt;TD class="xl66"&gt;15%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;10&lt;/TD&gt;&lt;TD class="xl66"&gt;8%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;projecting a pareto as below, we see 90% meeting theoretical TAT of 3.87.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this is not a coherent statistical value, but do you know how this can be calculated in a Qlikview chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150640_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 11:38:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217526#M858151</guid>
      <dc:creator>mentrier</dc:creator>
      <dc:date>2017-01-24T11:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile rounding</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217527#M858152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share how you came up with this number? I am not sure I follow completely &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 12:08:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217527#M858152</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-24T12:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile rounding</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217528#M858153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from below data&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TAT&amp;nbsp; ,&amp;nbsp; item&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2&amp;nbsp; ,&amp;nbsp; A&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2&amp;nbsp; ,&amp;nbsp; B&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3&amp;nbsp; ,&amp;nbsp; C&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3&amp;nbsp; ,&amp;nbsp; D&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3&amp;nbsp; ,&amp;nbsp; E&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3&amp;nbsp; ,&amp;nbsp; F&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3&amp;nbsp; ,&amp;nbsp; G&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3&amp;nbsp; ,&amp;nbsp; H&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3&amp;nbsp; ,&amp;nbsp; I&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3&amp;nbsp; ,&amp;nbsp; J&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;4&amp;nbsp; ,&amp;nbsp; K&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;4&amp;nbsp; ,&amp;nbsp; L&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;10 ,&amp;nbsp; M&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I pivot this data, counting % number of items per TAT.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="297"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="40" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: none; border-right: none; border-bottom: 0.5pt solid #9bc2e6; border-left: none; background: #ddebf7;" width="92"&gt; TAT&lt;/TD&gt;&lt;TD class="xl63" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: none; border-right: none; border-bottom: 0.5pt solid #9bc2e6; border-left: none; background: #ddebf7;" width="99"&gt;% of items&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: none; border-right: none; border-bottom: 0.5pt solid #9bc2e6; border-left: none; background: #ddebf7;" width="106"&gt;cumulative % of items&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;2 &lt;/TD&gt;&lt;TD class="xl65"&gt;15%&lt;/TD&gt;&lt;TD class="xl65"&gt;15%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;3 &lt;/TD&gt;&lt;TD class="xl65"&gt;62%&lt;/TD&gt;&lt;TD class="xl65"&gt;77%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;4 &lt;/TD&gt;&lt;TD class="xl65"&gt;15%&lt;/TD&gt;&lt;TD class="xl65"&gt;92%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;10&lt;/TD&gt;&lt;TD class="xl65"&gt;8%&lt;/TD&gt;&lt;TD class="xl65"&gt;100%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I find 77% at 3, 92% at 4 &amp;amp; then extrapolate 90% as&amp;nbsp; 3 + ((90% - 77%) / (92% - 77%)) = 3.87&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 12:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217528#M858153</guid>
      <dc:creator>mentrier</dc:creator>
      <dc:date>2017-01-24T12:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile rounding</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217529#M858154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a nice looking expression, but may be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Max(Aggr(If(RangeSum(Above(Count(item), 0, RowNo()))/Count(TOTAL item) &amp;lt;= 0.90, TAT), TAT)) +&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;((0.90 - Max(Aggr(If(RangeSum(Above(Count(item), 0, RowNo()))/Count(TOTAL item) &amp;lt;= 0.90, RangeSum(Above(Count(item), 0, RowNo()))/Count(TOTAL item)), TAT))) /&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Min(Aggr(If(RangeSum(Above(Count(item), 0, RowNo()))/Count(TOTAL item) &amp;gt; 0.90, RangeSum(Above(Count(item), 0, RowNo()))/Count(TOTAL item)), TAT)) - Max(Aggr(If(RangeSum(Above(Count(item), 0, RowNo()))/Count(TOTAL item) &amp;lt;= 0.90, RangeSum(Above(Count(item), 0, RowNo()))/Count(TOTAL item)), TAT))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, this is highly dependent on the fact that how your TAT field is sorted.... if it isn't sorted in Ascending order, the expression won't work as is. To fix that, either you will have to sort the TAT field in the script or you can use &lt;A href="https://community.qlik.com/qlik-blogpost/4673"&gt;The sortable Aggr function is finally here!&lt;/A&gt;‌ which is available in QV12 or Qlik Sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 12:37:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217529#M858154</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-24T12:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile rounding</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217530#M858155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you Sunny. it works well with my database correctly sorted. I'll look at the sortable aggr to see if I can leverage.&lt;/P&gt;&lt;P&gt;thank you again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 13:36:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-rounding/m-p/1217530#M858155</guid>
      <dc:creator>mentrier</dc:creator>
      <dc:date>2017-01-24T13:36:54Z</dc:date>
    </item>
  </channel>
</rss>

