Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #9: Analytics Ranking

Kusk
8 - Asteroid

Challenge Completed

crukesh
5 - Atom

if [count] != [Row-1:count] then [Row-1:Rank] + 1 else [ROW-1:Rank] endif

Peter_Delmer
5 - Atom

My solution.  Took me three steps.

AngelPradeesh
6 - Meteoroid

The below tools will give you the desired output:

 

1. Use Sort tool to get count in descending order

2. Use a Multi-Row tool and use the formula if [count]!=[Row-1:count]
then [Row-1:Rank]+1
else [Row-1:Rank]
endif

Name the new field Rank

3. Use the filter to get Rank<6 

 

Thank you!

 

jennifer_owens
8 - Asteroid

Below is my solution. 

Timi8
7 - Meteor

My solution

Vanousheh
5 - Atom

My first challenge solved :)

HardikJani
8 - Asteroid

Hi, I took a longer approach to reach a solution. I multiplied all the count values to get negative values then used the tile tool to get a unique value for each negative value. Since I had all negative values "-17" got ranked tiled as 1 and so on. Lastly, I used the select tool to get rid of unwanted columns and change the data types. I was surprised to see that I took an extra step and could have done it in just 3 steps. Great learning.

tbennett013
8 - Asteroid

My solution for Challenge #9

Inactive User
Not applicable

Done