Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!
IDEAS WANTED

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback
We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.

Challenge #182: Word Sleuthing

Highlighted
12 - Quasar
12 - Quasar

Hey @AYXAcademy,

 

Is there a way to get a .yxzp made on 2019.2? My company is not quite on 2019.3 yet.

Highlighted
14 - Magnetar
14 - Magnetar

It seemed straightforward at first, even if using the Download tool. 

Spoiler
image.png


But then the rabbit hole appeared and I jumped in. This text contained more than just a Sherlock Holmes story. 

 

Spoiler
image.png

Aha!! So now I need to figure out which words belong to each book

 

Spoiler
image.png
Regex_Match FTW in a filter, to find the Start and End lines for each book. A formula tool with a smidge of Regex Replace pulls out the book title, and Start or End.  Crosstab so the start and end are next to each other for each book. Append this all onto the original list, and tag with the book title when the Record ID fits between the start and end lines for each book. Filter where the book is empty.

Then the process of tokenizing per word, summarizing, calculating percentage, as above works. Just add a filter onto the end to separate the books out.

So much fun to play with this one!!!

Highlighted
7 - Meteor

Interesting Weekly Challenge. I received different set of result sets.

 

Highlighted
7 - Meteor

Hey @cplewis90 :

 

Just download and open this package from 2019.2 Alteryx designer (File-->Open Workflow-->Browse this pc-->(Locate your workflow)). It will allow you to open with some warnings . Ignore those warnings and explore the data challenge. Even i use 2019.2 version. :):)

Highlighted
8 - Asteroid

Nice bit of brain exercise to start my day!

 

Spoiler
 

image.png

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

My first solution returned different results, so I started to exclude lines (all lines before "*** START"), but the results were still different. So I carried on exluding/including parts of the text and making the workflow more complicated ... and ended up with a simple solution matchig the expected output.

 

Spoiler
24-09-_2019_10-42-53.pngImpressive, how easy it can be using RegEx ... I need to improve on that

 

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

my solution, like many others, I did not find the same exact results 😕

Highlighted
5 - Atom

 

Yay! I got the same results as the solution! This is also my first upload. Thanks for the weekly challenges!

 

Spoiler
What worked for me is changing the "Field Length" in the original input tool to a much larger size, to avoid truncating longer fields.
Spoiler
image.png

 

 

Highlighted
8 - Asteroid

With exact results... Got to love Regex... and Regex101.com

 

 

Highlighted
12 - Quasar
12 - Quasar

Hi @sudhar46,

 

I must be doing something wrong because any time I import I get the following error:

error with new version files.PNG