<?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: rangefractile and group by in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/rangefractile-and-group-by/m-p/797015#M1030255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oleg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I had noticed the difference in parameter location.&amp;nbsp; Seems a strange think for the developers to have done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went back to fractile as you have suggested and seems to have worked now.&amp;nbsp; I wonder if I was sorting rather than grouping last time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help (and speed) &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2015 16:52:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-12T16:52:32Z</dc:date>
    <item>
      <title>rangefractile and group by</title>
      <link>https://community.qlik.com/t5/QlikView/rangefractile-and-group-by/m-p/797013#M1030253</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;I am trying (unsuccessfully) to do this in my load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;%Stock#,&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; rangefractile(fractile, expr1 [ , expr2, ... exprN ])&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;rangefractile(0.25,[Lead time (days)])&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [LBound],&lt;/P&gt;&lt;P&gt;rangefractile(0.75,[Lead time (days)])&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [UBound]&lt;/P&gt;&lt;P&gt;resident&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; factPOReceipts&lt;/P&gt;&lt;P&gt;group by&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %Stock#&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every Stock# has been ordered multiple times and each time the lead time from order date to goods received differs. I want to figure out the 25th and 75th percentiles of the lead times per stock#.&amp;nbsp; I have tried fractile and rangefractile and can get neither to work for me.&lt;/P&gt;&lt;P&gt;I assume for the rangefractile to work the table must be grouped or ordered by stock#.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 16:34:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangefractile-and-group-by/m-p/797013#M1030253</guid>
      <dc:creator />
      <dc:date>2015-02-12T16:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: rangefractile and group by</title>
      <link>https://community.qlik.com/t5/QlikView/rangefractile-and-group-by/m-p/797014#M1030254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oli,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rangefractile() can be used on a list of distinct values, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rangefractile(0.25, v1, v2, v3, v4, v5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, for your purposes, Fractile() is certainly the function to use. However, fractile() places the percentage as the last parameter and not the first:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;fractile([Lead time (days)], &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;0.25&lt;/SPAN&gt;)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [LBound],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;fractile([Lead time (days)], &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;0.75&lt;/SPAN&gt;)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [UBound]&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;could this be your problem? If it still doesn't work, I'd check whether these statistical functions can be used in the script or maybe they are only available in chart calculations...&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&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Come and learn Set Analysis and Advanced Aggregation with me at &lt;STRONG&gt;www.masterssummit.com&lt;/STRONG&gt; - take your QlikView skills to the next level!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 16:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangefractile-and-group-by/m-p/797014#M1030254</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-02-12T16:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: rangefractile and group by</title>
      <link>https://community.qlik.com/t5/QlikView/rangefractile-and-group-by/m-p/797015#M1030255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oleg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I had noticed the difference in parameter location.&amp;nbsp; Seems a strange think for the developers to have done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went back to fractile as you have suggested and seems to have worked now.&amp;nbsp; I wonder if I was sorting rather than grouping last time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help (and speed) &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 16:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangefractile-and-group-by/m-p/797015#M1030255</guid>
      <dc:creator />
      <dc:date>2015-02-12T16:52:32Z</dc:date>
    </item>
  </channel>
</rss>

