ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
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 #3: Running Averages

jenniferk
メテオール

The posted solution as of 9/20/19 seems to be modified from the original dataset and references fields that are now missing, which throws off the dynamic rename module so the final output column names are unclear.

 

Attaching my solution from the new dataset:

スポイラ
soln3.PNG

 

KT2
メテオール
スポイラ
SPOILER

Boom.

Stevej028
メテオール
スポイラ
image.png
RoDO
アステロイド

My solution

 

スポイラ
challenge_3_RODO_Solution.png

I didn't really like this challenge

ZenonH
アステロイド

Careful not to click the text input tool for the solution, it will freeze Alteryx for a while!

スポイラ
ZHSOL.png
myouree
アステロイド
 
Nicole_L
アステロイド

That was very challenging.  I hope I did this right.

Peter-H
メテオロイド
 
kmcdaniel
アステロイド
スポイラ
challenge3_screenshot.png
SueDonim
アステロイド

I'll admit to getting a hint on how to simplify this one, but then was able to complete on my own.  Very clever way to simplify.

 

Very useful exercise to see how to use tools to simplify processes

 

スポイラ
The transpose and cross-tab made this much easier than having a dozen multi-row tools.

Process
- Add Record IDs to allow for transpose and cross-tab
- Transpose on Record ID, HP category, Year, and Month
- Use two Multi-Row tools (one for 3mo average, the other for 6mo average)
  -- Had "Values for Rows that Don't Exist" set to values of closest valid row to enable it to deal with initial months and nulls
- 3 cross-tabs to move back to original orientation
  -- Original data
  -- 3mo
  -- 6mo
- Dynamic Renames to add "r3mo_" or "r6mo_" to start of field name
- Join Multiple to bring it all together

MySolution.PNG