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 #188: Difficult, but not im-parse-able

T_Willins
14 - Magnetar
14 - Magnetar

I resolved this from scratch as it was almost a year ago that I first solved this real-life challenge.  Much more efficient workflow now.  I use this as an example of the power of Alteryx.  This used to be a manually copied to Excel process from multiple files that took about 10 hours to complete for over 1500 lines.  Now it is seconds.

 

Spoiler
Workflow 188.JPG

 

pgrug
6 - Meteoroid

Thanks for making the challenge!

benakesh
12 - Quasar
Spoiler
Initial filter : REGEX_Match([Field_1], '^\|\s{1,2}\d{1,10}\s.*')
Order of data in valid rows :  Start with | , 1 or 2 spaces , 1 to 10 digits, space and anything   
TonyA
Alteryx Alumni (Retired)

Talk about a real life example! I never would have figured this out from the instructions without seeing the output. This is why when anyone asks for help on the discussion boards we always ask for sample input and sample output.

Sebenius
8 - Asteroid

Regex is a blast as normal. 

 

Big tip for geting some help with that regex: https://regex101.com/

 

Spoiler
Sebenius_0-1572941930334.png

Regex Used:
Vat No:
.*\|(\d{3}\-\d{2}\-\d{5})\|.*
Data:
^\|\s+(\d+)\s+(..)\s+(\d{4}\-\d{2}\-\d{2})\s+(\d{4}\-\d{2}\-\d{2})\s+([\d,-]+)\s+(..)\s+([\d,-]+)\s+\|
Niklas
8 - Asteroid

MC2wS

kat
12 - Quasar

All to familiar with the source of this messy data...

Spoiler
Challenge #188.PNG
JoshuaGostick
11 - Bolide

My solution 🙂

 

Spoiler
challenge_188.PNG
JamesFo
8 - Asteroid

Tricky one. Super useful though!

 

Spoiler
Capture.PNG
cgoodman3
14 - Magnetar
14 - Magnetar

Alot of Regex!

 

Spoiler
Challenge 188.PNG
Chris
Check out my collaboration with fellow ACE Joshua Burkhow at AlterTricks.com