Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
amars
Specialist
Specialist

Fractile Reverse

Hi all,

By above name to the thread, what I mean is, by using Fractile Function we can find out 50th Percentile for a given list of values.

I wish to find out the Percentile value for a score, within a given list of Scores.

Is there any function to do that?

Thanks in advance.

Amar

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Something like this perhaps: count({<Score={'<=$(vScoreValue)'}>} Score)/count(total Score)

Use a variable vScoreValue to store the score value of which you want the fractile. Then count all scores that are lower or equal to that value and divide that by the total count of scores.


talk is cheap, supply exceeds demand
amars
Specialist
Specialist
Author

If I have to calculate manually, it is becoming quite complex, the formula is like

i.e.

= ( Max( Total Rank) - UpperboundValue of (Individual Score)  ) / Max( Total Rank)

Fore me score is again a calculated value , thus it is becoming quite complex

=((Max(Total Aggr(Rank(Total (ScoreFormulae),3), Dimensions)) - Num(Rank(Total ScoreFormulae,3)))

   /Max(Total Aggr(Rank(Total (ScoreFormulae),3), Dimensions))

The other problem is I wish to calculate it at script level otherwise. Since the value is fixed.

Can you suggest something.

Thanks a lot.