Percentile
The MDX Percentile function for Essbase orders the set according to the numeric value expression, and then returns the value of the tuple that is at the given percentile.
This function only applies to aggregate storage databases.
Syntax
Percentile ( set, numeric_value_expr, percentile )
Parameters
Notes
-
This function is applicable only to aggregate storage databases.
-
The returned value is such that n percent of the of the set members are smaller than it.
Example
WITH MEMBER [Measures].[Perc] AS
'Percentile(Products.Levels(0).Members, [Measures].[Price Paid], 10)'
SELECT {[Measures].[Price Paid], [Measures].[Perc] } ON COLUMNS,
{ Products.Levels(0).Members } ON ROWS
FROM AsoSamp.Basic