# Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!
New content is available in Academy! You may need to clear your browser cache for an optimal viewing experience

## Challenge #9: Analytics Ranking

Highlighted
Meteoroid

My solution.

Highlighted
Nebula

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

Highlighted
Magnetar

I also like the Tile solution to provide a rank field

Highlighted
Meteoroid

This was the easy one. Done in Three Steps.

Highlighted
Meteoroid

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

Highlighted
Asteroid

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

Spoiler
Highlighted
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

Highlighted
Alteryx Certified Partner

Solution:

Spoiler
Highlighted
Alteryx Certified Partner

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

Highlighted
Asteroid

Solution attached.  Thanks!