Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Weekly Challenges

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.

SUBMIT YOUR IDEA

Challenge #264: Sliding Totals

ellen-wiegand
Alteryx Alumni (Retired)

solution #264, wherein I admitted defeat to the batch macro

 

NicoleJohnson
ACE Emeritus
ACE Emeritus

My solution!

 

Révélation
WeeklyChallenge264.JPG

Cheers!

NJ

johnemery
Bolide

A fun return to the weekly challenges after a long hiatus

Révélation
Solution.PNG
SgdPackard810
Astéroïde

Gotta say, as much as I love Alteryx, it's a bit painful that windowing requires so many tools on the canvas. If I wasn't restricting myself to using only set tools, def would've just dropped a python tool onto the canvas and written a little code.

kelly_gilbert
Pulsar

Ooh, this was a fun one - thank you for submitting @JosephSerpis!

 

My solution is pretty similar to all of the other non-macro solutions, except I attempted to handle multiple instances of the same ID.

 

 

Révélation
I made the assumption that if there were multiple instances of the ID, that I'd need to sum the range between instances 1-2, 3-4, 5-6, etc., and would ignore the range between instances 2-3, 4-5, etc. Basically, odd instance = start, and even instance = stop.

kelly_gilbert_0-1619804396964.png

 

LHolmes
Comète

Fun challenge!

 

Révélation
264 - Solution.PNG
JonathanAllenby
Astéroïde

Here's my solution.

Révélation
Decided to wrap it in a batch macro. Only issue was it had two rows for each ID instead of 1, so I had to group it to remove the duplicates.JonathanAllenby_0-1619947739016.png

JonathanAllenby_1-1619947761789.png

 

mbogusz
Comète
Révélation
2021-05-03 08_38_21-Greenshot.png
Alteryx_AR
Quasar

My solution.

Find the solution