We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.
We are currently experiencing an issue with Email verification at this time and working towards a solution. Should you encounter this issue, please click on the "Send Verification Button" a second time and the request should go through. If the issue still persists for you, please email support@alteryx.com for assistance.

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

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback

Challenge #287: Find My Pet US

Chau_Tran_Minh
5 - Atom

Hi, I don't understand why I have one additional record different from the expected output (as per screenshot). Could you help me check my solution as "challenge_287_start_file.yxmd"?

 

Chau_Tran_Minh_0-1633100034296.png

 

 

Thank you.

Manav_Sehra
7 - Meteor

Not the most elegant solution, but I managed to get there. Great way to familiarize myself with some spatial tools!

 

Spoiler
Solution - Challenge #287.PNG

 

 

dYoast
8 - Asteroid

@Chau_Tran_Minh 

 

The reason is that there are two owners for AnimalID A0922961.

 

When you split and calculated your points and rejoined, it created 2 more rows.  You started with 18 rows and went to 20 rows.

 

I can not explain why both owners get both distances.

justin_butler
7 - Meteor
Spoiler
justin_butler_0-1633119149470.png

 

davidhe
Alteryx
Alteryx
Spoiler

daily challenge 287 spoiler.png

Tip: filter before joining for performance. 

davidhe
Alteryx
Alteryx

@Chau_Tran_Minh there's no need to split, calculate and re-join. By not limiting your fields and adding this step, you introduce the opportunity to "muddle" the data, in this case accidentally imputing the points for another "owner". Simply calculate each set of points and then the distance between. 

AlexvanOs
8 - Asteroid

So sad, this challenge. Let's reunite all those poor pets with their owners, not just the ones close with a nice reward. 

Anyway, soluition below. 

natalie_ruppi
5 - Atom
Spoiler
natalie_ruppi_0-1633207023146.png

 

ddiesel
12 - Quasar

My solution:

Spoiler
Capture.PNG
mbogusz
9 - Comet
Spoiler
Weekly Challenge #287 in the canWeekly Challenge #287 in the can