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.
We are updating the requirements for Community registration. As of 7/21/21 all users will be required to register a phone number with their My Alteryx accounts. If you have already registered, you will be prompted on your next login to add your phone number.

Weekly Challenge

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

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

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

Submit Feedback

Challenge #262: With-invoice

Elias_Nordlinder
8 - Asteroid

Some Regex parsing and more 🙂

 

Spoiler
Elias_Nordlinder_0-1626683890043.png

 

xAJBx
7 - Meteor
Spoiler
xAJBx_0-1626703850503.png

 

KaneG
Alteryx
Alteryx

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