Alteryx Designer Desktop Discussions

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

Joining 2 columns

micou
7 - Meteor

Hello,

I want to combine the data in column A and column B and the desire output is attached below. 

Can someone please teach me how to do it. Thank you!

 

 

micou_0-1584550624745.png

 

2 REPLIES 2
markcurry
12 - Quasar

This formula should do it ..

 

[Column A] + " - " + ToString([Column B])

 

 

As Column B is numeric, you'll need to convert that to a string with the ToString function.

 

Greg_Murray
12 - Quasar

In a formula tool create a new field with the following expression:

 

[column A] + ' - ' + tostring([column b])

 

 

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels