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

johnemery
11 - Bolide

Looks like my solution is very similar to many others'. Reasonably tricky, but an important calculation to be familiar with.

 

 


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

sahinakos
8 - Asteroid

workflow #3.PNG

Kanta
7 - Meteor

Fun one, but also completely different solve to most 

 


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

TonyA
Alteryx Alumni (Retired)

This was my "final" cut before looking at the solution. Lesson learned: if you're doing a whole bunch of multi-row formulas, see if transposing helps!


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

TonyA
Alteryx Alumni (Retired)

@SeanAdams  I'm pretty new here and going through the old challenges. Saw your comment from ages ago about errors in the results in Weekly Challenge #3. Actually given one interpretation of the rules, the second month averages are correct. The instructions say that for missing values, we should use the nearest valid value. For row 1, we are missing the two prior rows and the nearest valid value is row 1. So if we use the value of row 1 for all three (or six) months and we get back the value of row 1 -- no difference. But for row 2, we have the values for row 1 and row 2 and use the value of row 1 for the missing value(s). I haven't checked all of the values, but that looks like what Gene did.

 

Whether or not this is the correct way to do running averages is another discussion.

Galouzis
7 - Meteor

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

PhatV
6 - Meteoroid

Week 3 solution

 


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

pedrodebs
7 - Meteor

A little tricky, but here it's my solution!


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

D12monkey
8 - Asteroid

Since the stipulation that if there is a null value to use the next closest row, this is my solution.

 


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

keefeale
7 - Meteor

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