Largest

Get nth largest value as a column

What It Does

Largest adds a column containing the Nth largest value from a numeric column. N=1 gives the maximum, N=2 the second largest, etc.

How to Use It

Opening the Panel

Click the + button in the toolbar or press the operation picker, then search for "Largest". It's in the Aggregate group.

Configuration

FieldTypeRequiredDescription
ColumnColumn select (numeric)YesThe numeric column to find largest values in
NNumberYesRank position (1 = largest)
SQL generated under the hood
SELECT *, NTH_VALUE(price, 1) OVER (ORDER BY price DESC) AS max_price FROM data
Try this operation →

Related Operations