Rank
The Rank step allows you to order your data based on specific values, with options for different ranking methods. This is useful for identifying top performers, prioritizing items, or creating ordered lists within your dashboard.
Steps parameters
Value column to rank
column(string)*: the value column that will be ordered to determine rankSort order
dropdown["asc", "desc"]*: how to order the value column to determine ranking. Eitherasc
(ending) ordesc
(ending),desc
by defaultRanking method
dropdown["standard", "dense"]*: eitherstandard
ordense
, as explained aboveGroup ranking by
column(array) (optional): if you need to apply the ranking computation by group of rows, you may specify here the columns to be used to constitute groups (see example 2 below)New column name
(string) (optional): if you want to give a custom name to the output column to be created (by default it will be your original column name suffixed by_RANK
).
Example
Input

Configuration
{
"value_col": "sales",
"order": "standard",
"method": "asc",
"group_by": [],
"new_column_name": "sales_rank_asc"
}
Output

Last updated
Was this helpful?