Format CSV Input
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi everyone,
I'm a newcomer to the Alteryx world and have trawled through the embedded help files in the application but have not found an answer to my question. I hope that someone here can help point me in the right direction! :)
I've got a link to survey data that is returning all the data in one column, warts and all. I need to parse it out so that the data is separated and then formatted into neatly presented columns with the relevant data under each column. I've got as far as creating the columns I need, however the data is all lumped under one column at the very end. I need to parse that column out so each cell in that column goes under each relevant preceding column. What's especially annoying is that some of the data that should be in one cell is separated by a space and, as a result, has ended up in separate cells. How would I go about putting the relevant data from each cell into its rightful column?
Tools used so far: Text to columns, Text to columns (split to rows), Dynamic rename, Select, Sample N Records.
Many thanks,
Dev
Solved! Go to Solution.
- Labels:
- Best Practices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Could you post a sample of the input data.
Sounds like you are using the right kind of tools but easier to advise if can see the raw input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Attached my quick go at it.
First break it into Rows: Text To Columns splitting on \r\n to Rows.
Then break it into Cells: Text To Columns splitting on , to Rows.
This will create a table URL, Row, Column, Value
Then using a CrossTab to make it URL, Row, Columns
Then use a dynamic rename to relabel.
Early on my Alteryx learning did a blog along these lines: https://jdunkerley.co.uk/2015/03/24/getting-started-with-alteryx-part-3-reading-csvs/
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks for the response, however I wasn't able to open the file you attached as it was made with a newer version of Alteryx. My version is listed as 10.1.7.12188. Is it possible that you can save your output to a version compatible with my version of Alteryx?
Many thanks! :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You, sir, are incredible. Thank you so much!!