Percentile - Teradata Warehouse Miner

Teradata Warehouse Miner User Guide - Volume 2ADS Generation

Product
Teradata Warehouse Miner
Release Number
5.4.5
Published
February 2018
Language
English (United States)
Last Update
2018-05-03
dita:mapPath
qhj1503087326201.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2301
Product Category
Software
This function returns the value in each group that represents the specified percentile, i.e. the value in each group that has the given percentage of values less than it. When dragging a Percentile element into a variable, the following tree element is created.
Variable Creation > Input > Variables: SQL Elements pane - Aggregation > Time Series > Percentile

A Column or other non-aggregate expression can be moved over the (empty-Value Expression) branch of the tree. A numeric literal value can be moved over the (empty-Percentile) branch of the tree, representing a value from 1 to 100, indicating the percentile to use.

In addition to specifying these values, the user can also specify whether distinct values only should be used (discarding values that are multiples), and an interpolation scheme to use when deciding between multiple solutions. These options are enabled through the Properties panel as shown below. Double-click on Percentile, or highlight it and click Properties.

Variable Creation > Input > Variables: SQL Elements pane - Aggregation > Time Series > Percentile Properties