Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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 #262: With-invoice

Elias_Nordlinder
11 - Bolide

Some Regex parsing and more 🙂

 

Spoiler
Elias_Nordlinder_0-1626683890043.png

 

xAJBx
7 - Meteor
Spoiler
xAJBx_0-1626703850503.png

 

KaneG
Alteryx Alumni (Retired)

This could be done with a Batch Macro in case of more tables, but who knows what format they would be in. This solution should deal with the case where headers are 2 or 3 rows and any amount of data...

 

Spoiler
Firstly tag the data, and then count the dashes for each field in order to figure out how many characters are in each field. After that, it's just substrings and formatting.

KaneG_0-1626772656447.png

 

AndrewS
11 - Bolide

#262

Spoiler
262.PNG

VizChic
11 - Bolide

was good to understand parsing more. FG AA soln

 

wigr
5 - Atom
Spoiler
wigr_0-1629276039668.png

 

There's still a bunch of hard-code, but could be nice to try the solution on a different data set to see how it generalises.

suyash0807
7 - Meteor

MY solution - seems like a bit lengthy as compared to others.

Jotigautam
10 - Fireball
Spoiler
Jotigautam_0-1631543272049.png

 

Bonediggler
9 - Comet

I'm new to RegEx so I'm sure my expressions are something of a train wreck, but in any case using this method gets the job done in only 9 tools (undynamically!)

Spoiler
Bonediggler_0-1633698194628.png

 

 

Frachiu
7 - Meteor

Hello:

I am trying to solve a part of this exercise but I want to ask how to avoid the error "this cell has leading spaces" in the Apply Date (this error appears when I parse using the Text To Columns tool).

 

Thank you