Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

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])

 

 

Labels
Top Solution Authors