Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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