<?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: Calculated fraction in Fractile() function in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculated-fraction-in-Fractile-function/m-p/1557336#M40581</link>
    <description>&lt;P&gt;Where is this getting used, are you able to share a sample to show how exactly you are trying to do this?&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2019 17:37:18 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-03-15T17:37:18Z</dc:date>
    <item>
      <title>Calculated fraction in Fractile() function</title>
      <link>https://community.qlik.com/t5/App-Development/Calculated-fraction-in-Fractile-function/m-p/1557329#M40579</link>
      <description>&lt;P&gt;Hello, I am currently working on a complex expression using the Fractile() function. I am trying to create percentile groups of test scores, and then calculate the fractile for the upper bound of that group. Right now I have 5 percentile groups (1-20, 21-39, 40-59, 60-79, 80-100). If I wanted to get the fractile for the 1-20 percentile group I would use Fractile(expr, .2).&lt;/P&gt;&lt;P&gt;I'm trying to show the fractile for every test-taker based on which percentile group they belong in. So if a test-taker was in the 35th percentile, then the function should be Fractile(expr, .4). I currently have an expression that is calculating the fraction value, but it appears that Fractile() will not accept anything other than a decimal number as a parameter. I've tried the following:&lt;/P&gt;&lt;PRE&gt;=Fractile(expr, "Percentile Group")                    //.2, .4, .6, etc.
=Fractile(expr, $(="Percentile Group"))
=Fractile(expr, (Div("Percentile", 20) + 1) / 5        //0-99
=Fractile(expr, $(=(Div("Percentile", 20) + 1) / 5)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The first parameter is fine which I have determined by passing an explicit fraction for the second parameter.&lt;/P&gt;&lt;P&gt;I'm wondering if it is at all possible to accomplish what I am trying above. If it isn't I can create an expression using five if statements and passing the explicit decimal values to each, but I would rather avoid that if possible.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculated-fraction-in-Fractile-function/m-p/1557329#M40579</guid>
      <dc:creator>dselgo_eidex</dc:creator>
      <dc:date>2024-11-16T06:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated fraction in Fractile() function</title>
      <link>https://community.qlik.com/t5/App-Development/Calculated-fraction-in-Fractile-function/m-p/1557336#M40581</link>
      <description>&lt;P&gt;Where is this getting used, are you able to share a sample to show how exactly you are trying to do this?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 17:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculated-fraction-in-Fractile-function/m-p/1557336#M40581</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-03-15T17:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated fraction in Fractile() function</title>
      <link>https://community.qlik.com/t5/App-Development/Calculated-fraction-in-Fractile-function/m-p/1557370#M40584</link>
      <description>&lt;P&gt;Sure thing Sunny. Here is a sample QVF.&lt;/P&gt;&lt;P&gt;The only expression where I am having issues is the Fractile.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 18:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculated-fraction-in-Fractile-function/m-p/1557370#M40584</guid>
      <dc:creator>dselgo_eidex</dc:creator>
      <dc:date>2019-03-15T18:28:28Z</dc:date>
    </item>
  </channel>
</rss>

