Weekly Challenge

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

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

Submit Feedback
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.

Challenge #161: Triangles, Triangles, Triangles

Highlighted
16 - Nebula
16 - Nebula

516 on the money.

 

Sneaky @JoeM  didn't put all the points in a perfect straight line which made for some fun....

 

Result1.pngResult2.png

 

Spoiler

Turns out that the create polygon actually takes care of most of the heavy lifting for you - any truly colinear points don't actually correctly resolve into a polygon so you have an easy check.

Solution.png



Looking forward to working through other folk's solutions!

Highlighted
8 - Asteroid

I thought this was going to be way simpler than it turned out to be, that final filter is tricky

Highlighted
7 - Meteor
 
Highlighted
6 - Meteoroid
Spoiler
alteryx_challenge_161.png
Highlighted
Alteryx Certified Partner

11

 

Spoiler
Capture.PNG
Highlighted
Alteryx Certified Partner

This challenge helped me to learn that spatial point ordering within a triangle influences the outcomes of convex hull versus sequence polygon

Spoiler
the sequence polygon results in three times as many records after using the unique tool, ergo they aren't uniquethe sequence polygon results in three times as many records after using the unique tool, ergo they aren't unique
Highlighted
Alteryx Certified Partner

My solution:

Spoiler
challenge 161.jpg
Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

Challenge 161 is done!

 

Spoiler
challenge 161 JMS solution.PNG
Highlighted
Alteryx Community Team
Alteryx Community Team

Took a slightly longer approach

Highlighted
Alteryx Certified Partner

This was a fun one, got a full match to the 516 triangles. Keen to see how everyone has implemented logic for colinearity. 

 

Spoiler
Snag_4b3e227.png