<?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 a percentile for a student test score in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculating-a-percentile-for-a-student-test-score/m-p/2526783#M107293</link>
    <description>&lt;P&gt;Small tip. If you want your expression to &lt;STRONG&gt;exclude selected student&lt;/STRONG&gt; from calculation of test score percentile, I recommend modifying the expression to be like this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Count({&amp;lt;test_score = {"&amp;lt;=$(=test_score)"}, student_ID = E(student_ID) &amp;gt;} student_ID) / Count({&amp;lt;student_ID&amp;gt;} student_ID)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, let's say you have 100 students. You select a student that has a test score of 80. Let's say there are &lt;STRONG&gt;59 other students&lt;/STRONG&gt; that have a test score of 80 or less. The expression above, will return &lt;STRONG&gt;59%&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Whereas, the expression that Rubenmarin suggested will return &lt;STRONG&gt;60%&lt;/STRONG&gt; because &lt;STRONG&gt;it will count the student you selected&lt;/STRONG&gt; as well as the 59 students that have the score of 80 or less.&lt;/P&gt;&lt;P&gt;Not sure what the exact requirement you have, but I wanted to throw that out in case you'll need to exclude selected student from calculation of score percentiles.&lt;/P&gt;</description>
    <pubDate>Sat, 09 Aug 2025 17:36:45 GMT</pubDate>
    <dc:creator>howdash</dc:creator>
    <dc:date>2025-08-09T17:36:45Z</dc:date>
    <item>
      <title>Calculating a percentile for a student test score</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-a-percentile-for-a-student-test-score/m-p/2526772#M107290</link>
      <description>&lt;P&gt;I have an app that contains a list of students with their test scores.&amp;nbsp; When I select a single student, I would like to have a text box on the screen show me a calculation of the student's test score percentile.&amp;nbsp; In other words, I would like to know what percentage of other student's test scores are equal than or lower to the selected student's test score.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The field that will be selected to identify the specific student is called [student_ID], and the test score field is called [test_score].&amp;nbsp; Unfortunately, I can't post a screen shot of the data due to privacy concerns.&lt;/P&gt;&lt;P&gt;Is this possible?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Aug 2025 02:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-a-percentile-for-a-student-test-score/m-p/2526772#M107290</guid>
      <dc:creator>timwhite</dc:creator>
      <dc:date>2025-08-09T02:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a percentile for a student test score</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-a-percentile-for-a-student-test-score/m-p/2526773#M107291</link>
      <description>&lt;P&gt;Hi, in the text box you can use an expresion like:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;test_score={"&amp;lt;=$(=Max(test_score))"},student_ID&amp;gt;} student_ID) / Count({&amp;lt;student_ID&amp;gt;} student_ID)&lt;/P&gt;</description>
      <pubDate>Sat, 09 Aug 2025 06:50:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-a-percentile-for-a-student-test-score/m-p/2526773#M107291</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2025-08-09T06:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a percentile for a student test score</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-a-percentile-for-a-student-test-score/m-p/2526776#M107292</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;Thank you so much!! This does exactly what I needed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Aug 2025 13:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-a-percentile-for-a-student-test-score/m-p/2526776#M107292</guid>
      <dc:creator>timwhite</dc:creator>
      <dc:date>2025-08-09T13:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a percentile for a student test score</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-a-percentile-for-a-student-test-score/m-p/2526783#M107293</link>
      <description>&lt;P&gt;Small tip. If you want your expression to &lt;STRONG&gt;exclude selected student&lt;/STRONG&gt; from calculation of test score percentile, I recommend modifying the expression to be like this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Count({&amp;lt;test_score = {"&amp;lt;=$(=test_score)"}, student_ID = E(student_ID) &amp;gt;} student_ID) / Count({&amp;lt;student_ID&amp;gt;} student_ID)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, let's say you have 100 students. You select a student that has a test score of 80. Let's say there are &lt;STRONG&gt;59 other students&lt;/STRONG&gt; that have a test score of 80 or less. The expression above, will return &lt;STRONG&gt;59%&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Whereas, the expression that Rubenmarin suggested will return &lt;STRONG&gt;60%&lt;/STRONG&gt; because &lt;STRONG&gt;it will count the student you selected&lt;/STRONG&gt; as well as the 59 students that have the score of 80 or less.&lt;/P&gt;&lt;P&gt;Not sure what the exact requirement you have, but I wanted to throw that out in case you'll need to exclude selected student from calculation of score percentiles.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Aug 2025 17:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-a-percentile-for-a-student-test-score/m-p/2526783#M107293</guid>
      <dc:creator>howdash</dc:creator>
      <dc:date>2025-08-09T17:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a percentile for a student test score</title>
      <link>https://community.qlik.com/t5/App-Development/Calculating-a-percentile-for-a-student-test-score/m-p/2526784#M107294</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/235696"&gt;@howdash&lt;/a&gt;&amp;nbsp;Great tip - Thanks for adding to the conversation.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Aug 2025 18:11:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculating-a-percentile-for-a-student-test-score/m-p/2526784#M107294</guid>
      <dc:creator>timwhite</dc:creator>
      <dc:date>2025-08-09T18:11:40Z</dc:date>
    </item>
  </channel>
</rss>

