Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Multi line CSV file to one field

ewehrmann
5 - Atom

I am looking to convert all rows and columns of a CSV file to a single field.

2019-11-12_13-50-13.jpg

How might I achieve this?

6 REPLIES 6
fmvizcaino
17 - Castor
17 - Castor

Hi @ewehrmann ,

 

For that, you can use \0 as the delimiter as image below.

 

fmvizcaino_0-1573597099742.png

 

See if that works for you and let me know.

 

Best,

Fernando Vizcaino

JosephSerpis
17 - Castor
17 - Castor

Hi @ewehrmann there are a couple of ways you could do this have mocked something up. Let me know what you think?

danilang
19 - Altair
19 - Altair

Hi @ewehrmann 

 

If you want the exact output that you posted, change the separator in the summarize tool in @JosephSerpis' solution from a comma to "\n"(new line)

 

c.png

 

Dan

ewehrmann
5 - Atom

That solution combines the columns into a single field but leave multiple rows

ewehrmann
5 - Atom

Thank you. This workflow combined with Dan's tweak gave me a solution.

gautams091
7 - Meteor

Try with formula 

ToString(ToString([RecodID)+","+ToString([ITEM))

Labels