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 #182: Word Sleuthing

Bolide

Hey @AYXAcademy,

 

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

Pulsar

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!!!

Meteor

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

 

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. :):)

Asteroid

Nice bit of brain exercise to start my day!

 

Spoiler
 

image.png

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

 

Quasar

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

 

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

 

 

Asteroid

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

 

 

Bolide

Hi @sudhar46,

 

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

error with new version files.PNG