Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

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 #64: Catch Me If You Can

JoeM
Alteryx Alumni (Retired)

The solution to last week's challenge is HERE!

 

You have an input data that has some unknown number of fields and records as a data stream from a file that changes often. You also have a specified list of fields that you want, that also changes often. After each run of this workflow, the data will change. Hence the name of this challenge. Every time you run the workflow, the data inside the inputs will change - making it a little challenging to configure.

 

Hint: You will be looking at lots of Unknown fields - think dynamically!

 

 

NicoleJohnson
ACE Emeritus
ACE Emeritus

Caught ya! :) This was a really fun one!

 

Spoiler
WeeklyChallenge64.JPG

 

AdamR_AYX
Alteryx Alumni (Retired)

Fun!  I wonder how many different ways people will find to solve this one.

 

Spoiler
My solution avoids transposing the source data.  But does need the CReW macro pack installed to run.

challenge_64.png
Adam Riley
https://www.linkedin.com/in/adriley/
patrick_digan
17 - Castor
17 - Castor

 

Spoiler
I used a formula tool to setup the column name. I added some asterisks at the beginning of each field name so that I could tell at the end which fields were selected. 
I used a dynamic rename to change the column headings. The dynamic select chose only the field names with the asterisks. The dynamic rename then deleted the asterisks so i had my final output.

Capture.PNG

 

MarqueeCrew
20 - Arcturus
20 - Arcturus

@JoeM,

 

I think that I caught you.  I checked my solution against @patrick_digan & @AdamR_AYX.  I am very much like Digan and very little like Adam.  Adam, I think that you'll agree that the Crew macros path is a little bit much.  

 

Spoiler
Capture.PNG

 

Cheers,

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
AdamR_AYX
Alteryx Alumni (Retired)

@MarqueeCrew I like to be different :)

Adam Riley
https://www.linkedin.com/in/adriley/
MarqueeCrew
20 - Arcturus
20 - Arcturus

@AdamR_AYX,

 

You're my favorite and you know it!

 

See you soon!

m

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
alex
11 - Bolide
Spoiler
Week64.JPG
Garrett
11 - Bolide

Dynamic indeed.

Spoiler
dynamic.PNG
toddhowl
7 - Meteor

 

Spoiler
Spoiler64.JPG

 

 

That was fun, thanks!