I am trying to get 95th, 75th and 55th percentiles using fractile function in a drill down in qliksense. The drill down is like below,
Country>State>County>City>Zip.
I need to achieve the following,
1. Get the fractile values to show one level up from State>County>City>Zip, i.e at country level fractile values should show at country level and
> when drilled down to state it should show the fractile values that of Country
> when drilled down to County it should show the fractile values that of State
> when drilled down to City it should show the fractile values that of County
> when drilled down to Zip it should show the fractile values that of City.
The set of values I am trying to do the fractile are resultant of the expression Num/Denum which are in %. and I stored them in a variable called Var1%. I have written the below code in the chart
If
(
GetSelectedCount(Country)>=0 and GetSelectedCount(State)=0