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 #20: List Parsing

Alteryx Alumni (Retired)

The link to last week’s challenge (challenge #19) is HERE.  For this week’s challenge we need to clean up an unformatted text file with unstructured data.

 

Use Case: A sales executive got a series of leads from the DMA conference. Unfortunately it’s a text file that we want to restructure into a tabular form to load into Salesforce.

 

The result should be a table formatted the same as the output sample.

 

As always there are many ways to approach the same problem in Alteryx.  I am looking forward hear about some of your solutions.

 

Enjoy!

Alteryx Certified Partner

Great challenge, spent 45 minutes to get this done!

Creative Director
Creative Director

A solution has been posted above.

Spoiler
2016-04-11 09_56_10-Alteryx Designer x64 - Week_20_DMA_List_Parsing_Advanced_Solution.yxmd.png
Tara McCoy
Nebula
Nebula

Painful but useful exercise!

 

Again, I went the long way around, compared to @TaraM & @GeneR - notes and solution below.

Spoiler
While the provided solution assumes a company name if it does't match any of the other criteria, the attached looks for a specific pattern to find company names.
Same as provided - it identifies fax numbers; telephone numbers; addresses and websites - and flags these
Then by elimination - anything else is either a company or a notes field.

Split them all out the hard way (using discrete filters), and then a multi-join to bring them back together

the provided solution is far more elegant.
Alteryx Certified Partner
Alteryx Certified Partner

I've got a Marquee Crew solution.

 

Cheers,

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and reboot. Order shall return.
Magnetar
Magnetar

Great challenge!

Magnetar
Magnetar

This one was BRUTAL for me. I will not admit how long I've been battling this one... but I can now safely say that RegEx and I are close friends now, both in tool and formula form, and that I now have a deep-seated dislike for non-standard formatted addresses and phone numbers...

Yikes.

 

Spoiler
WeeklyChallenge20.JPG
Alteryx Certified Partner

This challenge was difficult for me. It really highlighted the importance of testing your output vs. the given output. That's how I found the "RFI     ." and the two phone numbers starting with 1- that I missed during my initial data inspection. I added in a testing section to the end of my workflow if anyone has a more efficient way to test the two outputs are identical I welcome feedback.

Spoiler
challenge20.jpg
Alteryx Certified Partner

This one was a real head scratcher, it took a lot longer than I thought it would! I had to peek at the solution to get some help parsing some of the addresses.

 

Spoiler
Weekly Challenge 20.png
Alteryx Certified Partner

Workflow