<?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 use? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fractile-use/m-p/322517#M118788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, not easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you could use something like attached. I used some variables to hold the different fractiles and then check in charts if Values are within the bounderies determined by the fractiles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two charts at the bottom are sensitive to the possible state of the Values, so if you change the selection of Values, you will change the averages of the buckets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Oct 2011 23:37:52 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-10-09T23:37:52Z</dc:date>
    <item>
      <title>Fractile use?</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-use/m-p/322513#M118784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I would like to create a graphic with the distribution of raw numeric data.&lt;BR /&gt;I think i have to use the 'fractile' function but I am not sure it's the correct way to do so.&lt;BR /&gt;Here is my need:&lt;BR /&gt;let say I have a field 'data' with 1000 values in incresing order.&lt;BR /&gt;I wish to graph on a single view the average value of the first 10% values (ie: 100 first values), then the average of the next 10% values (ie: 'data' from the 100th to the 200th value), then the average of the next 10% values (ie: 'data' from the 200th to the 300th value), etc... until 100% of 'data'.&lt;/P&gt;&lt;P&gt;So far, I tried to use a bar chart; with Dimension='Percentile' and expression=fractile(data,Percentile/100),&lt;BR /&gt;where Percentile is :&lt;/P&gt;&lt;P&gt;Percentiles:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Percentil&lt;BR /&gt;10&lt;BR /&gt;20&lt;BR /&gt;30&lt;BR /&gt;40&lt;BR /&gt;50&lt;BR /&gt;60&lt;BR /&gt;70&lt;BR /&gt;80&lt;BR /&gt;90&lt;BR /&gt;100&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;As far as i undersatnd fractile function, it doesn't answer to my need... Could you please help me in this issue? (hope this is clear enough! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2011 13:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-use/m-p/322513#M118784</guid>
      <dc:creator />
      <dc:date>2011-10-08T13:34:08Z</dc:date>
    </item>
    <item>
      <title>Fractile use?</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-use/m-p/322514#M118785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Does somebody has an idea ?&lt;/P&gt;&lt;P&gt;I was possibly thinking of using FieldValue function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Oct 2011 17:20:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-use/m-p/322514#M118785</guid>
      <dc:creator />
      <dc:date>2011-10-09T17:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile use?</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-use/m-p/322515#M118786</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 think you could calculate your buckets and the average within each bucket in your script, maybe like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;floor(RAND()*1000) as Value&lt;/P&gt;&lt;P&gt;AutoGenerate 1000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let numRows = NoofRows('Data');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;tmp:&lt;/P&gt;&lt;P&gt;Load Value&lt;/P&gt;&lt;P&gt;, ceil(recno()/$(numRows)*10)*10 as Percentile&lt;/P&gt;&lt;P&gt;resident Data order by Value asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;avg(Value) as AverageinBucket,&lt;/P&gt;&lt;P&gt;Percentile&lt;/P&gt;&lt;P&gt;resident tmp group by Percentile;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached sample. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Oct 2011 17:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-use/m-p/322515#M118786</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-10-09T17:38:40Z</dc:date>
    </item>
    <item>
      <title>Fractile use?</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-use/m-p/322516#M118787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this is a way to do so (and works fine!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to my project, graph must be updated according to selected dimensions.&lt;/P&gt;&lt;P&gt;Indeed, 'Percentile' as to be "recomputed" according to number of 'Data' available...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not very easy...&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plain.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Oct 2011 22:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-use/m-p/322516#M118787</guid>
      <dc:creator />
      <dc:date>2011-10-09T22:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile use?</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-use/m-p/322517#M118788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, not easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you could use something like attached. I used some variables to hold the different fractiles and then check in charts if Values are within the bounderies determined by the fractiles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two charts at the bottom are sensitive to the possible state of the Values, so if you change the selection of Values, you will change the averages of the buckets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Oct 2011 23:37:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-use/m-p/322517#M118788</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-10-09T23:37:52Z</dc:date>
    </item>
  </channel>
</rss>

