Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
helen_pip
Creator III
Creator III

Fractile and if

Hello

I was able to use Median and If in the same statement and get the function wokring O.K

 

MEDIAN

(IF([adm]=0,[Total]/1440))

However I cannot get the function to work with Fractile

  fractile(If([adm]=0, [Total],0.95)/1440)

Can someone kindly help me write the correct function for a FRACTILE(IF statement

Many Thanks

Helen

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try

  fractile(If([Patient Admitted?]=0, [Total Wait]),0.95)/1440

(moving one closing bracket around)

View solution in original post

3 Replies
swuehl
MVP
MVP

Try

  fractile(If([Patient Admitted?]=0, [Total Wait]),0.95)/1440

(moving one closing bracket around)

helen_pip
Creator III
Creator III
Author

Thank you!  Works perfectly

Not applicable

Please help me.

I have exam data of a class of 50 students.

Now I want to calculate the average (and, median) of top 80% students of that class.

How can I do that?
Please help.

Thanks.