Forum Discussion

PowerAnalytics's avatar
PowerAnalytics
Icon for Advocate II rankAdvocate II
8 years ago

Percentile on Consolidated data

I want to calculate the percentile 95 from a table which has grouped data.

 

In the following example, I have a table which has 2 columns: Leadtime and Total (assume the **bleep** % does not exist, I just added it here for illustrative purposes).

I want to retrieve the closest possible to the Percentile 95 (in this case will be 47.5 = percentile 95.4).

 

LeadtimeTotalcum_pct %
04551.4%
0.54692.9%
14834.5%
1.52245.2%
 ... ... ...
.........
4641291.4%
46.538292.6%
4740593.9%
47.545895.4%
4820796.0%
48.525796.8%
4944298.2%
49.518798.8%
50368

100.0%

 

Any idea for this? Appreciate it!

3 Replies

    • PowerAnalytics's avatar
      PowerAnalytics
      Icon for Advocate II rankAdvocate II

      Hi!

       

      I think the case is very different, as in this case, we do not have the values we are searching for a close approximation already calculated in a table.

       

      It is also not a good approach to add a calculated column, as there are many filters that we want the user to be able to select which will alter the context (example: country, period, other dimensions)