The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Cloud Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Cloud.

How do you add a rank from high to low? The RANK function defaults to low to high?

LisaM2
5 - Atom
 
1 REPLY 1
APrasad_Tri
Alteryx Alumni (Retired)

Hi @Lisa M?,

 

The rank starts from 1 and increments. ?In the RANK() window function, we need to sort the columns. For sorting in descending order, use the '-' sign in front of the column value. This way you can assign a High rank to a low value.

 

For more information, please refer here

 

Hope this helps.

 

Best,

Apeksha Prasad

?