Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
satishkurra
Specialist II
Specialist II

Fractile QlikView

Hi

I'm currently using below expression to get the Revenue >=95 % values

This is working fine.

Now the ask is how to modify this expression to show values between 5 and 95 % values.

Please help

Expression:

=Sum({<RecordID =

{"=Sum([Revenue])

<= Fractile(TOTAL Aggr(Sum([Revenue]), RecordID), 0.95)"}

,

FiscalYear={'$(vMaxYear)'},Date={'<=$(vMaxDate1)'}, Fiscal_Month=

>}[Revenue])

Thanks

Satish

6 Replies
sunny_talwar

This

=Sum({<RecordID =

{"=Sum([Revenue]) >= Fractile(TOTAL Aggr(Sum([Revenue]), RecordID), 0.05) and Sum([Revenue]) <= Fractile(TOTAL Aggr(Sum([Revenue]), RecordID), 0.95)"},

FiscalYear={'$(vMaxYear)'},Date={'<=$(vMaxDate1)'}, Fiscal_Month=

>}[Revenue])

satishkurra
Specialist II
Specialist II
Author

Hi Sunny

I have an issue here.

If i lasso on the bubbles, the chart is not displaying any value.

I think we are using TOTAL in fractile which is ignoring the dimension.

If i remove TOTAL the chart is going back to the initial state and no even distribution happens.

Could you please help me on the same?

Thanks

Satish

satishkurra
Specialist II
Specialist II
Author

You can refer the same thread which has sample application

Fractile - QlikView

Anil_Babu_Samineni

What about this?

=Sum({<RecordID *=

{"=Sum([Revenue]) >= Fractile(TOTAL Aggr(Sum([Revenue]), RecordID), 0.05) and Sum([Revenue]) <= Fractile(TOTAL Aggr(Sum([Revenue]), RecordID), 0.95)"},

FiscalYear={'$(vMaxYear)'},Date={'<=$(vMaxDate1)'}, Fiscal_Month=

>}[Revenue])

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
satishkurra
Specialist II
Specialist II
Author

Hi Anil

No luck.

Thanks

Satish

sunny_talwar

You might need to ignore selection in Fractile function

=Sum({<RecordID =

{"=Sum([Revenue]) >= Fractile({1} TOTAL Aggr(Sum({1} [Revenue]), RecordID), 0.05) and Sum([Revenue]) <= Fractile({1} TOTAL Aggr(Sum({1} [Revenue]), RecordID), 0.95)"},

FiscalYear={'$(vMaxYear)'},Date={'<=$(vMaxDate1)'}, Fiscal_Month=

>} [Revenue])

or may be ignore selection in specific fields you are selecting in.