The Percentile function generates percentiles for groups of numbers. The nth percentile is the smallest value in a data set that is greater than n% of the values.
Use this function when the input data is partitioned into a large number of groups and you want to find the percentile for each group. Each group must fit on a single worker node. The maximum number of input rows in each group that the function can process depends on the cluster configuration. To find percentile statistics for a very large input group that requires multiple workers, use the function Approximate Percentile.