It's beginning to look a lot like...Advent of Code! Get in the holiday spirit by learning how you can participate in this friendly competition and earn a seasonal badge.
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 #226: Flex-Ability

Inactive User
Not applicable

Solved! 🙂

7 - Meteor

This week's flex-ability solution!

Spoiler

10 - Fireball

226! Nice one.

8 - Asteroid

I tried to do all the different options I could come up with.

For one the results were slightly off:

I drew draw trading areas between both points with radius = distance, then find the centroids' X,Y coordinates of the intersection object: this introduces a small error:

-112.0293      |       36.88052

-111.4566      |       36.80255

I was careful making sure all calculations were done w doubles.

Is there any was to prevent this, or is it just the nature of (some of) the spacial tools?

Thanks!

Spoiler

8 - Asteroid

This works, but I can't figure out my first idea of creating a trade area for each office that overlaps, then extracting the two points where they match, the centre of this line will also be the centre of the two offices. If anyone knows how to do this I would be interested.

Spoiler

8 - Asteroid

Hi mustel we had very similar ideas, my entry is just the one before your entry take a look if you like: I created an intersect object (rather than a line) and then determined the Centroids X and Y values. However, this method seems to introduce a small error - nevertheless, it works!

9 - Comet

Finish 😉

16 - Nebula

Here is my solution !

Alteryx

I think it's the first time my solution is not much longer than others LOL! Gotta love Spatial tools!

Spoiler

11 - Bolide

My solution

Spoiler