community
cancel
Showing results for 
Search instead for 
Did you mean: 

Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!
New content is available in Academy! You may need to clear your browser cache for an optimal viewing experience

Challenge #64: Catch Me If You Can

Director, Customer Enablement
Director, Customer Enablement

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!

 

 

Magnetar
Magnetar

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

 

Spoiler
WeeklyChallenge64.JPG

 

Alteryx
Alteryx

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
Principal Software Engineer
Tech Lead Core Engines, Alteryx

 

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

 

Alteryx Certified Partner
Alteryx Certified Partner

@JoeM,

 

I think that I caught you.  I checked my solution against @patrick_digan & @AdamR.  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 reboot. Order shall return.
Alteryx
Alteryx

@MarqueeCrew I like to be different :)

Adam Riley
Principal Software Engineer
Tech Lead Core Engines, Alteryx
Alteryx Certified Partner
Alteryx Certified Partner

@AdamR,

 

You're my favorite and you know it!

 

See you soon!

m

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and reboot. Order shall return.
Bolide
Spoiler
Week64.JPG
Alteryx Certified Partner

Dynamic indeed.

Spoiler
dynamic.PNG
Meteor

 

Spoiler
Spoiler64.JPG

 

 

That was fun, thanks!