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
8 - Asteroid
8 - Asteroid

I used a non-macro approach, mainly relying on the geometrical rules. I initially had 544 instead of 516. The difference is due to very thin triangles. So it is an interesting case of which tolerance level to set to test for linearity.

Highlighted
11 - Bolide

Interesting! I definitely never would have thought to use that method for creating the triangle shapes (or for finding unique combos!) My method was definitely more steps (but works).

 

Spoiler
I initially tried to exclude invalid triangles (where the points were all collinear) by using the side lengths, but spatial length/area don't work because these are lat/lons rather than cartesian coordinates!

challenge_161_workflow.PNGchallenge_161_output_triangles.PNG

 

Highlighted
6 - Meteoroid

Great challenge! So many different ways to solve.

Highlighted
Alteryx
Alteryx

Nice one!

 

Not sure why people are filtering out small triangles at the end. I have used...

 

 

Spoiler
the Spatial Info tool to tell polygons (i.e. triangles) from lines and I get 540 triangles!
GC161.JPG

 

 

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

Challenge Completed 

Highlighted
Alteryx
Alteryx

Some clever logic required!

Highlighted
Alteryx Certified Partner

Thanks to @CharlieS for fun challenge

I do love a great SpatialI do love a great Spatial

So all though this was super fun, I did have some minor challenges with it

 

Spoiler
My result does not completely match the provided output, and I cannot quite figure out how to match it 100%, but I do get 516 unique triangles
My WorklowMy WorklowAs mentioned there is a difference

The Provided ResultThe Provided ResultMy ResultMy Result

 

so I guess I will have to take a look at some of the other solutions to see, it there is a more clever way to do this

 

 

Still Climbing

/Verakso

Highlighted
14 - Magnetar
14 - Magnetar

Really fun challenge!!

 

Spoiler
Had to wrap my head around how to get the points connected in a unique way, and then the ideas flew quickly.

Decided to go the non-spatial tool route to practice spatial formulae. The workflow:
image.png

Lots of triangles!
image.png
Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

Very nice challenge. I got my 516 triangles

 

Spoiler
wfwf
Highlighted
Alteryx Partner
Spoiler
alteryx2.PNG