<?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 Percentile  Calculation in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Percentile-Calculation/m-p/2053570#M86570</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deepanshuSh_0-1679920326280.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/103566i81D730409936A8C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="deepanshuSh_0-1679920326280.png" alt="deepanshuSh_0-1679920326280.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to calculate the percentile for each ID, based on the sum(value). Basically, I want to take the max(sum(value) ) as base considering it as 100% and calculate where the remaining IDs belong to. I want to understand which percentile does each ID belongs to when compared to whole data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 12:38:08 GMT</pubDate>
    <dc:creator>deepanshuSh</dc:creator>
    <dc:date>2023-03-27T12:38:08Z</dc:date>
    <item>
      <title>Percentile  Calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Percentile-Calculation/m-p/2053570#M86570</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deepanshuSh_0-1679920326280.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/103566i81D730409936A8C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="deepanshuSh_0-1679920326280.png" alt="deepanshuSh_0-1679920326280.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to calculate the percentile for each ID, based on the sum(value). Basically, I want to take the max(sum(value) ) as base considering it as 100% and calculate where the remaining IDs belong to. I want to understand which percentile does each ID belongs to when compared to whole data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 12:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Percentile-Calculation/m-p/2053570#M86570</guid>
      <dc:creator>deepanshuSh</dc:creator>
      <dc:date>2023-03-27T12:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Percentile  Calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Percentile-Calculation/m-p/2053586#M86574</link>
      <description>&lt;P&gt;Have a look at the &lt;A href="https://help.qlik.com/en-US/qlikview/May2022/Subsystems/Client/Content/QV_QlikView/ChartFunctions/StatisticalAggregationFunctionsinCharts/fractile.htm" target="_self"&gt;Fractile()&lt;/A&gt; function.&lt;/P&gt;
&lt;P&gt;You may need to wrap it in an aggr() function to get it working on a per-ID basis as well - I'm not sure because I wasn't quite able to understand what you were trying to do based on your post.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 12:58:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Percentile-Calculation/m-p/2053586#M86574</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-03-27T12:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Percentile  Calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Percentile-Calculation/m-p/2053831#M86593</link>
      <description>&lt;P&gt;From your description I understand a percentage rather than a percentile, are you maybe looking for an expression like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Num(Sum(Value)/Max(TOTAL Aggr(Sum(Value),ID)),'0%')&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoWedel_0-1679951643332.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/103618i12DCCA0C024501DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarcoWedel_0-1679951643332.png" alt="MarcoWedel_0-1679951643332.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 21:16:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Percentile-Calculation/m-p/2053831#M86593</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2023-03-27T21:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Percentile  Calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Percentile-Calculation/m-p/2053871#M86595</link>
      <description>&lt;P&gt;Thanku&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/675"&gt;@MarcoWedel&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6142"&gt;@Or&lt;/a&gt;&amp;nbsp; for your inputs. I am trying to use the fractile function already, but was unable to get the required results. I wanted to get a summation of the value column and then use that for getting the percentile using the fractile function, I tried the alternative approach using Marco's Suggestion. It kind of solved the problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 04:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Percentile-Calculation/m-p/2053871#M86595</guid>
      <dc:creator>deepanshuSh</dc:creator>
      <dc:date>2023-03-28T04:27:31Z</dc:date>
    </item>
  </channel>
</rss>

