<?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: Re: What exactly a Fractile function does? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593233#M219911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hope this example helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Just now this code in your qvw file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;RowNo() as R,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;'A' as Type&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;AutoGenerate 100;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;- Take the two fields in table box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;- Take one st. table and add dim as Type and exp as Fractile(R,.75)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;- Now you will find the value as 75 in straight table, fractile will give the result value of the percentage what we had given.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;- We have 1 to 100 values, in that 75 is at 75%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Jagan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Apr 2014 13:08:55 GMT</pubDate>
    <dc:creator>jagannalla</dc:creator>
    <dc:date>2014-04-18T13:08:55Z</dc:date>
    <item>
      <title>What exactly a Fractile function does?</title>
      <link>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593227#M219905</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;Can some one explain me what the Fractile function does? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I used this script, &lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Country, Value&lt;/P&gt;&lt;P&gt;USA, 12&lt;/P&gt;&lt;P&gt;USA, 14.5&lt;/P&gt;&lt;P&gt;USA, 6.6&lt;/P&gt;&lt;P&gt;USA, 4.5&lt;/P&gt;&lt;P&gt;USA, 7.8&lt;/P&gt;&lt;P&gt;USA, 9.4&lt;/P&gt;&lt;P&gt;UK, 11.3&lt;/P&gt;&lt;P&gt;UK, 10.1&lt;/P&gt;&lt;P&gt;UK, 3.2&lt;/P&gt;&lt;P&gt;UK, 5.6&lt;/P&gt;&lt;P&gt;UK, 3.9&lt;/P&gt;&lt;P&gt;UK, 6.9&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the UI, in the text box, i use the function =Fractile({&amp;lt;Country = {'UK'}&amp;gt;}Value, .75),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get a value of 9.3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this example, can some one explain what this Fractile function is doing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 02:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593227#M219905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T02:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: What exactly a Fractile function does?</title>
      <link>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593228#M219906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The qv help itself explains it quite nicely.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P class="syntax"&gt;&lt;A name="kanchor1141"&gt;&lt;/A&gt;&lt;A name="fractile"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;fractile (&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[{set_expression}] [ &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; ] [ &lt;SPAN class="Bold"&gt;total&lt;/SPAN&gt; [&amp;lt;fld &lt;BR /&gt;{,fld}&amp;gt;] ] expression, fractile&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;returns the aggregated fractile of &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; iterated over the chart dimension(s).&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The function argument expressions must not contain &lt;BR /&gt;aggregation functions, unless these inner aggregations contain the &lt;SPAN class="Bold"&gt;total&lt;/SPAN&gt; qualifier.&lt;/P&gt;
&lt;P&gt;If the word &lt;SPAN class="Bold"&gt;total&lt;/SPAN&gt; occurs &lt;BR /&gt;before the function arguments the calculation will be made over all possible &lt;BR /&gt;values given the current selections but disregarding the chart dimension &lt;BR /&gt;variables.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The &lt;SPAN class="Bold"&gt;total&lt;/SPAN&gt; qualifier may be &lt;BR /&gt;followed by a list of one or more field names within angle brackets. These field &lt;BR /&gt;names should be a subset of the chart dimension variables. In this case the &lt;BR /&gt;calculation will be made disregarding all chart dimension variables except those &lt;BR /&gt;listed, i.e. one value will be returned for each combination of field values in &lt;BR /&gt;the listed dimension fields. Also fields which are not currently a dimension in &lt;BR /&gt;a chart may be included in the list. This may be useful in the case of group &lt;BR /&gt;dimensions, where the dimension fields are not fixed. Listing all of the &lt;BR /&gt;variables in the group causes the function to work when the cycle or drill-down &lt;BR /&gt;level changes.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P class="example"&gt;Examples:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P class="Code"&gt;fractile( Sales, 0.75 )&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P class="Code"&gt;fractile( X*Y/3, 0.9 )&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P class="Code"&gt;fractile( total Price, 0.25 )&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P class="Code"&gt;fractile( total &amp;lt;Group&amp;gt; Price )&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;



&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If you have doubt about what fractile is meant for, follow the links that you are redirected to by: &lt;A href="https://community.qlik.com/thread/67578"&gt;Fractile function&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 05:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593228#M219906</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-04-18T05:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: What exactly a Fractile function does?</title>
      <link>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593229#M219907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, serif; font-size: 16px;"&gt;Fractile which is also known as quantile is the total division of something into equivalent subgroups like deciles, quartiles, percentiles, terciles and quintiles. Quantile is defined as a point taken at certain intervals from a random variable's cumulative distribution function (CDF).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, serif; font-size: 16px;"&gt;More you can read from QliKView Refrence Manual and from below link..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Georgia, serif; font-size: 16px;"&gt;&lt;A href="https://community.qlik.com/message/468734"&gt;Use of Fractile()&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 06:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593229#M219907</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-18T06:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: What exactly a Fractile function does?</title>
      <link>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593230#M219908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco. Thanks for the response. I know that it is in help. But i could not understand it clearly and that is the reason why i gave an example and asked for a explanation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 10:57:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593230#M219908</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T10:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: What exactly a Fractile function does?</title>
      <link>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593231#M219909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your specific example, that means that UK values &amp;lt;9.3 fall in the bottom 75% of all UK values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 12:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593231#M219909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T12:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: What exactly a Fractile function does?</title>
      <link>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593232#M219910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if you wonder why you get 9.3 though this value is not contained in your data set, well, it's an interpolated value (because you haven't input enough values to really exactely get the 75% threshold).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 12:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593232#M219910</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-04-18T12:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re: What exactly a Fractile function does?</title>
      <link>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593233#M219911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hope this example helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Just now this code in your qvw file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;RowNo() as R,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;'A' as Type&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;AutoGenerate 100;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;- Take the two fields in table box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;- Take one st. table and add dim as Type and exp as Fractile(R,.75)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;- Now you will find the value as 75 in straight table, fractile will give the result value of the percentage what we had given.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;- We have 1 to 100 values, in that 75 is at 75%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Jagan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 13:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593233#M219911</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2014-04-18T13:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: What exactly a Fractile function does?</title>
      <link>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593234#M219912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here i got the correct Calculation,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UK has 6 values, &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;UK, 11.3&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;UK, 10.1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;UK, 3.2&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;UK, 5.6&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;UK, 3.9&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;UK, 6.9&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;So, the total number, "n"=6.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;So, if i use the function Fractile(Value, 0.75), it does the following calculation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(n+1) x 0.75 = 7 x 0.75 = 5.25&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;As, the decimal value is less than .45, 5.25 considers 5th ('y') value (when the values are arranged ascending order), that is 10.1.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;10.1 - ('y value' - 'value above y value')*0.25&amp;nbsp; --&amp;gt; So, here 10.1- (10.1 - 6.9) x 0.25&amp;nbsp; = 9.23&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This is how the fractile function does the calculation and give the result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 16:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-exactly-a-Fractile-function-does/m-p/593234#M219912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T16:39:07Z</dc:date>
    </item>
  </channel>
</rss>

