alteryx Community

# Weekly Challenge

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.

## Challenge #9: Analytics Ranking

6 - Meteoroid

My solution.

17 - Castor

Welcome to the community Rijutha - and congratulations on your first solutions; and first 2 badges! :-)

15 - Aurora

I also like the Tile solution to provide a rank field

6 - Meteoroid

This was the easy one. Done in Three Steps.

6 - Meteoroid

Found 2 approaches to solve this. Interesting way to solve the problem using the multi-row formula @seanadams

8 - Asteroid

Again, maybe not the cleanest solution, but it works :)

Spoiler
6 - Meteoroid

Nice way to leverage Tile widget, tried using 'Manual' tile method only to realize that 'Unique value' method allows users to group the similar values together and rank them. Tip - check 'Leave Unsorted' box, else output shows anomalies

15 - Aurora

Solution:

Spoiler
11 - Bolide

Solution attached.  Interesting dialog on this one.  I went with my first inclination which was to use the Multi-row Formula tool.  Anticipating what I thought would be the problem that Rachel mentioned of getting the rank of 1 on the first row, I assigned a record id first, and then set the rank to 1 IF [RecordID] = 1.  Upon closer examination of Rachel's solution, I realized that by default the Multi-Row tool property for 'Values for Rows that don't Exist' set the [Row-1:count] value to zero which led to a calc of (0 + 1) for the Rank assigned to the first row.

However, I take issue with this challenge because this is not how ranks are assigned, even in golf.  Generally, in the case of ties ranks are skipped.  To achieve the standard ranking, then the approach I took using the Record Id and a simple revision to the multi-row formula work perfectly, returning the following output.  The provided solution and the Tile tool do not adjust so well.  Let's keep it real :)

 First count Rank JANET 17 1 MARK 17 1 PAUL 15 3 BRADY 14 4 CARLA 14 4 CHRIS 14 4 LINDA 14 4

With the following record being

 DALE 13 8

Ken

8 - Asteroid

Solution attached.  Thanks!