Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAMy technique is similar to solution file. Once the original column was split, I removed the double quotes from [1] and added the correct column name along with data type/size. I used the ToNumber function to convert [2] over to an Int16. I used a custom date conversion with the single quotes included as a way to create the date without removing the single quotes as a separate step. I used the select tool in the last step to isolate the columns of interest.
I imagine the practical use of this being quite common! Nice beginner challenge 🙂
I found that the stripQuotes functionality that I found on the alteryx documentation was really useful for this one - and the multi-field formula tool meant I could run this on both fields that had quotation marks within. Interestingly stripQuotes also removes apostrophe's, which I imagine could be useful to remember in the future - I thought it would only remove quotations.
challenge 2
Took quite a bit of trial and error to figure out that the number of columns can be expanded to accommodate the "blank" columns.