Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
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 #3: Running Averages

JessieB
6 - Meteoroid

I realize this challenge is several years old now and this has probably been covered, but aren't rows 1–3 of the running three-month average of u.CAGI incorrect? I refer to the output and to the comment box in the Start File, which says that the running 3 month average of 218 and 200 is 212, and that the running average of 218, 200, and 272 is 233:

 

Running average issue.png

bartleb
6 - Meteoroid

Looks like I renamed the columns the hard way. At least I now know about the dynamic rename tool.

 


This post has been edited by Community Moderation to redact sensitive attachments. The original attachment has been replaced by post_placeholder.txt.

Adam_Dooley
8 - Asteroid

Not a very elegant solution, but I think it's correct even though the Expect Equal macro shows an error.  

 


This post has been edited by Community Moderation to redact sensitive attachments. The original attachment has been replaced by post_placeholder.txt.

ZacPhan
6 - Meteoroid

Hi there!



As attached is a screenshot of my workflow and the file.

 


This post has been edited by Community Moderation to redact sensitive attachments. The original attachment has been replaced by post_placeholder.txt.

Lindsen
6 - Meteoroid

Managed to tackle this one as well! Didn't came up with converting the data set into long format to make calculating moving averages easier.

 


This post has been edited by Community Moderation to redact sensitive attachments. The original attachment has been replaced by post_placeholder.txt.

ConradW
8 - Asteroid

Solution for Challenge 3


This post has been edited by Community Moderation to redact sensitive attachments. The original attachment has been replaced by post_placeholder.txt.

ConradW
8 - Asteroid

Solution for Challenge 3

Billigans
8 - Asteroid

This post has been edited by Community Moderation to redact sensitive attachments. The original attachment has been replaced by post_placeholder.txt.

Jur
7 - Meteor

My solution:

 


This post has been edited by Community Moderation to redact sensitive attachments. The original attachment has been replaced by post_placeholder.txt.

Francoisdup
7 - Meteor

This post has been edited by Community Moderation to redact sensitive attachments. The original attachment has been replaced by post_placeholder.txt.