SOLVED
Adding the key number to the contacts number
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Feras95p
8 - Asteroid
‎02-07-2022
02:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Dear all,
I have a column which contains contacts number of 9 digits started from 5 I want to add to all of them the key number which is 966
so the input number will be like this 549625709 I want the output to be like this 966549625709 any idea how it can be achieved?
Solved! Go to Solution.
3 REPLIES 3
22 - Nova
‎02-07-2022
02:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
JaeLim
Alteryx Alumni (Retired)
‎02-07-2022
02:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Feras95p ,
One quick way to do this is by using the formula tool:
 
Do note as your are using an integer type input, you may need to first convert your input data type into "V_WString", otherwise it would do a numeric addition instead.
22 - Nova
‎02-07-2022
02:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Happy to help : ) @Feras95p
Cheers and have a nice day!
