Alteryx Designer Desktop Discussions

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

Adding a Semicolon to the end of Data

KeelaWilliams
6 - Meteoroid

How do I add a semicolon only to the end of data?

 

Here is how the data is currently.

KeelaWilliams_0-1687383713217.png

 

This is how I need it to appear on the output.

KeelaWilliams_1-1687383787720.png

 

8 REPLIES 8
geraldo
13 - Pulsar

@KeelaWilliams 


if the field is numeric you must create a new string column
using the formula
ToString([Field1]) + ';'
or if it is already string [Field1] + ';'

alexnajm
17 - Castor
17 - Castor

Use a Formula tool and do [Column]+";"

KeelaWilliams
6 - Meteoroid

What if I have multiple columns that require this same formula? 

KeelaWilliams
6 - Meteoroid

What if I need this same formula on majority of the columns in my input data?

geraldo
13 - Pulsar

@KeelaWilliams 

 

example 
more than a column

KeelaWilliams
6 - Meteoroid

How can I add a semicolon to data that is set to a date and alteryx keep the date format?

geraldo
13 - Pulsar

@KeelaWilliams 

 

 

 


an example of in columns and rows
and another in just one column and row

 

semicolun.JPG

lbardoe
8 - Asteroid

You could use the transpose Columns to Rows tool use a formula to add the semi-colon to every value and the use the transpose Rows to Columns tool to put the data back into its original format. You would need to add a Record ID tool before doing the transpose so that it doesnt loose the rows by concatenating the data together.

Labels