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.
SOLVED

Challenge #135: Locker Problem

Highlighted
8 - Asteroid

My solution 

 

Spoiler
CA Solution - Iterative Macro.JPGCA Solution Workflow.JPG
Highlighted
14 - Magnetar
14 - Magnetar
Spoiler
Capture.PNG



2.PNG
Highlighted
8 - Asteroid

Okay, so my solution does not use a macro -- I like it anyway.

Highlighted
Alteryx Partner

Another good practice with iterative macros. Enjoyed making this one work.

 

Spoiler
Workflow:
image.png
Spoiler
Macro:image.png
Highlighted
Alteryx
Alteryx

Here's my solution.

Spoiler
Probably the shortest Iterative macro I ever wrote. Couldn't stop myself from doing this with a boolean for Locker_Open:
IF MOD([Locker_Number],[Engine.IterationNumber]+1) = 0
THEN ![Locker_Open]
ELSE [Locker_Open]
ENDIF

 

Highlighted
Alteryx Certified Partner

34

 

Spoiler
Capture.PNGCaptureIT.PNG
Highlighted
Alteryx Partner
 
Highlighted
7 - Meteor

This was the first time I made and altered a macro-this is a good entry into it. Stood on the shoulders of others to learn here.

Highlighted
Alteryx Partner

I took an extremely inefficient route, but it still works.

 

Highlighted
Alteryx Partner

Went with an itterative macro that open and closes. I used the math function modulo, that i haven't used before. 

Spoiler
Workflow:

Screen Shot 2019-07-30 at 11.43.27.png


Macro:


Screen Shot 2019-07-30 at 11.43.35.png