<?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: Calculating Percential/Fractile with Expression or Variable in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculating-Percential-Fractile-with-Expression-or-Variable/m-p/2422260#M95780</link>
    <description>&lt;P&gt;Fractile() is an aggregation-function like sum() which couldn't be nested without using an aggr() to specify the dimensionally context of the outer-aggregation. This means your expression might be lloking like:&lt;/P&gt;
&lt;P&gt;fractile(aggr(sum(X) / sum(Y), Dim1, Dim2))&lt;/P&gt;
&lt;P&gt;whereby DIm1 and Dim2 are just placeholder for the needed dimensionality - usually the dimensions from the chart.&lt;/P&gt;
&lt;P&gt;If all your records look like the screenshot and should be displayed in such way you wouldn't need the inner-aggregations else you could apply the suggestion from &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5905"&gt;@Lisa_P&lt;/a&gt;.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2024 12:21:30 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2024-02-22T12:21:30Z</dc:date>
    <item>
      <title>Calculating Percential/Fractile with Expression or Variable</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-Percential-Fractile-with-Expression-or-Variable/m-p/2421966#M95749</link>
      <description>&lt;P&gt;I have a table similar to below. I am looking to find the .95 percentile for Average Response. Average response is calculated as Mean/Volume. If I put in Fractile(Volume, .95), that works. But if I try&amp;nbsp;Fractile((sum(Mean)/sum(Volume)), 0.95), the expression is marked as okay, but I get - . I thought maybe it needed to be a variable. I created a variable using the expression&amp;nbsp;(sum(Mean)/sum(Volume) and tried&amp;nbsp;Fractile ($(vResponseTimeDay), 0.95) and still get an -&lt;/P&gt;
&lt;P&gt;How would I get the Percentile or Fractile in this case?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="831"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="94"&gt;Date&lt;/TD&gt;
&lt;TD width="143"&gt;Customer Name&lt;/TD&gt;
&lt;TD width="103"&gt;Volume&lt;/TD&gt;
&lt;TD width="125"&gt;Mean&lt;/TD&gt;
&lt;TD width="221"&gt;Average Response (Mean/Volume)&amp;nbsp;&lt;/TD&gt;
&lt;TD width="145"&gt;Fractile 95 on Volume&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;02-28-2023&lt;/TD&gt;
&lt;TD&gt;Customer A&lt;/TD&gt;
&lt;TD&gt;3,339,262&lt;/TD&gt;
&lt;TD&gt;4387751.459&lt;/TD&gt;
&lt;TD&gt;1.3140&lt;/TD&gt;
&lt;TD&gt;2,837,607&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;02-28-2023&lt;/TD&gt;
&lt;TD&gt;Customer B&lt;/TD&gt;
&lt;TD&gt;409,173&lt;/TD&gt;
&lt;TD&gt;719415.472&lt;/TD&gt;
&lt;TD&gt;1.7582&lt;/TD&gt;
&lt;TD&gt;388,633&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;02-28-2023&lt;/TD&gt;
&lt;TD&gt;Customer C&lt;/TD&gt;
&lt;TD&gt;1,515,048&lt;/TD&gt;
&lt;TD&gt;3252159.315&lt;/TD&gt;
&lt;TD&gt;2.1466&lt;/TD&gt;
&lt;TD&gt;1,438,936&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;02-28-2023&lt;/TD&gt;
&lt;TD&gt;Customer D&lt;/TD&gt;
&lt;TD&gt;10,086,979&lt;/TD&gt;
&lt;TD&gt;13309029.579&lt;/TD&gt;
&lt;TD&gt;1.3194&lt;/TD&gt;
&lt;TD&gt;8,571,953&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Thu, 22 Feb 2024 00:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-Percential-Fractile-with-Expression-or-Variable/m-p/2421966#M95749</guid>
      <dc:creator>mp802377</dc:creator>
      <dc:date>2024-02-22T00:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percential/Fractile with Expression or Variable</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-Percential-Fractile-with-Expression-or-Variable/m-p/2421993#M95750</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;
&lt;P&gt;Fractile(Mean/Volume, 0.95)&lt;/P&gt;
&lt;P&gt;You can't used a nested aggregation.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 04:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-Percential-Fractile-with-Expression-or-Variable/m-p/2421993#M95750</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2024-02-22T04:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percential/Fractile with Expression or Variable</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-Percential-Fractile-with-Expression-or-Variable/m-p/2422260#M95780</link>
      <description>&lt;P&gt;Fractile() is an aggregation-function like sum() which couldn't be nested without using an aggr() to specify the dimensionally context of the outer-aggregation. This means your expression might be lloking like:&lt;/P&gt;
&lt;P&gt;fractile(aggr(sum(X) / sum(Y), Dim1, Dim2))&lt;/P&gt;
&lt;P&gt;whereby DIm1 and Dim2 are just placeholder for the needed dimensionality - usually the dimensions from the chart.&lt;/P&gt;
&lt;P&gt;If all your records look like the screenshot and should be displayed in such way you wouldn't need the inner-aggregations else you could apply the suggestion from &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5905"&gt;@Lisa_P&lt;/a&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 12:21:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-Percential-Fractile-with-Expression-or-Variable/m-p/2422260#M95780</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-02-22T12:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percential/Fractile with Expression or Variable</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-Percential-Fractile-with-Expression-or-Variable/m-p/2422341#M95791</link>
      <description>&lt;P&gt;That doesn't work unfortunately. Using the calculation&amp;nbsp;&lt;SPAN&gt;Fractile(Mean/Volume, 0.95) for Customer A gives a result of 12. But, if I do a Fractile (1.3140, 0.95) the result is 1.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 13:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-Percential-Fractile-with-Expression-or-Variable/m-p/2422341#M95791</guid>
      <dc:creator>mp802377</dc:creator>
      <dc:date>2024-02-22T13:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percential/Fractile with Expression or Variable</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-Percential-Fractile-with-Expression-or-Variable/m-p/2422414#M95801</link>
      <description>&lt;P&gt;Fractile() on a single value isn't sensible - it could just return the value itself. If you enables to show more digits you should see it. Fractile() on a field will consider all possible values in regard to the used selections as well as to the applied object-dimensions and will take all available values - not only those which are visible because all objects show only distinct values in regard to the object-dimensions - any duplicates of values aren't not displayed but used in the calculation.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 14:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-Percential-Fractile-with-Expression-or-Variable/m-p/2422414#M95801</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-02-22T14:51:34Z</dc:date>
    </item>
  </channel>
</rss>

