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

patrick_digan
17 - Castor
17 - Castor

I got to use my multi -field multi -row multi -column macro.


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

jdunkerley79
ACE Emeritus
ACE Emeritus

Here my solution (not using Abacus tools...)

Spoiler

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

samjohnson
7 - Meteor

I'm not very original when it comes to solving this particular problem, that's for sure.


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

danfarmerTIL
6 - Meteoroid

Pretty much as most others did it, tweaked from using AVERAGE() also


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

vkarthik21
8 - Asteroid

It took quite bit of time to understand why transposition was required. Once I got that the rest was easy. I used brute force method to rename columns and it is now as I look, I see that there is a transform for that too! More and more I work on Alteryx, I am falling in love with it. It's incredibly powerful to keep running portions of the code. 

 

Also what would have helped is to give more detailed example on how the 3 month average is worked out. For the first two rows, I had hard time understanding how their values have come about. I struggled a lot to work out how is it getting calculated. Some more explanation would have been good. 


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

JoshKushner
12 - Quasar

Upon reading the solution, I've done something very simple in probably the most complex way (facepalm).

Anyways, my solution is attached.


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

Leonam
5 - Atom

Running Averages.JPG

 

Arianna_Fuller
7 - Meteor

 

 

 


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

930realm
7 - Meteor

This one took me a while to figure out why I could not match the output results. When I finally gave up and started reading the comments I realized it was because the data was mixing up 0's and nulls and unlike my SQL tools nulls are calculated to return a null.  That is an issue with our scientific data methods because nulls do not mean 0 they mean no data was collected.  As suggested by  @jdunkerley79 I will need to look more into using Abacus tools.

 

 


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

AT_12
7 - Meteor

Solution Attached

 

Widgets Used:

 

- Transpose

- Cross Tab

- Multi Row Formula

- Join Multiple

 


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