Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
mariovella
Contributor II
Contributor II

Fractile - Exclude 5-95 percentile from analysis

Hi everyone

I have to analyse data regarding the value of some sectoral projects  linked.

Here a subset of the data to be analysed: 

CodeSector Value 
A1Motorways              6,7  
A2Motorways              2,3  
A3Railways              0,5  
A4Railways              3,5  

I want to analyse only the CODE with a value between  the 5 and 95 percentile within each sector.

Therefore, which formula have I to use in order A) to calculate the percentile (5,95) for each sector    B) exclude the codes below 5 percentile and above 95 percentile?

Thanks in advance for any help

Mario

 

3 Replies
Channa
Specialist III
Specialist III

did you try

Fractile(Value,0.90)

Fractile(Value,0.05)

Channa
sunny_talwar

You already seem to know that you need to use Fractile function. What is the issue you are running into? With 2 data points for each sector in your sample, not sure if this would be a good sample to test out an example? Would you be able to provide more sample data and the output you expect to see from it?

mariovella
Contributor II
Contributor II
Author

Sunny

please find attached a larger subset of data.

What I want to achieve is a formula that calculate the percentile (5,95) for each sector and the exclude the code that are under 5 and above 95 percentile.

Thanks for your help

Mario