Mode - 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 mode of the values in each group, the most frequently occurring value or values in each group. If multiple values have the same maximum number of occurrences, multiple values are returned. When dragging a Mode element into a variable, the following tree element is created.

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

A Column or other non-aggregate expression can be moved over the (empty-Value Expression) branch of the tree.