community
cancel
Showing results for 
Search instead for 
Did you mean: 
Do you have the skills to make it to the top? Subscribe to our weekly challenges. Try your best to solve the problem, share your solution, and see how others tackled the same problem. We share our answer too.
Weekly Challenge
Do you have the skills to make it to the top? Subscribe to our weekly challenges. Try your best to solve the problem, share your solution, and see how others tackled the same problem. We share our answer too.
Unable to display your progress at this time. Please try again a little later, or contact an administrator if you continue to see this error.
Getting started with Designer? | Start your journey with our new Learning Path!

Challenge #3: Running Averages

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.

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.

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.

Highlighted
Alteryx Partner

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.

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.

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.

Atom

Running Averages.JPG

 

 

 

 


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

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.

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.