Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

Maintaining Special Characters throughout the workflow is hard and Output differs

Subha_Rajamani
5 - Atom

Experts help!

If you notice there is a minor difference in the dash sign used in the input. It is getting changed in my Output.

Need help to get data same as input.

 

Input:

Management - Into the

Management – Out

 

Output:

Management - Into the

Management - Out

6 REPLIES 6
caltang
17 - Castor
17 - Castor

My first look at this question had me confused, but I see that - and – are different characters. 

 

This is the solution: https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Text-To-Columns-changed-data-f...

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Subha_Rajamani
5 - Atom

Thanks for the quick look of my problem. I am not doing Text to column using only Select, Formula, Join and Union tools to come up with this output. Can you explain how to find whether my workflow is having "input/out configuration for Gallery" as mentioned in the solution link?

caltang
17 - Castor
17 - Castor

Hi @Subha_Rajamani 

 

Apologies for the late response, I went to bed. In your case, can you try adding a Formula Tool just before your output and use the Replace syntax to get your special characters?

 

Otherwise, an alternative route would be to use Find Replace Tool, with you having a separate Excel sheet that contains the list of special characters that you wish to have in the output.

 

Try it and let me know. If you're still stuck, can you Export your Alteryx workflow here and I can have a look. Others can chip in as well.

 

Hope it helps!

-Cal

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Sameer_Kanade8810
7 - Meteor

Hi You could create a text input with the below data.

Field 1Management— Out

Field 2 Management - Out

 

And use the apend tool to replace the Management— Out to  Management - Out.

 

try this out if it helps.

 

Subha_Rajamani
5 - Atom

Hi Caltang, Thank you for your solution!
My issue is not related to Replacing the special characters. I want the characters as it is in the Input.

Solution arrived: 

I mistakenly changed the data type before formula tool in my Workflow from V_WString to VString.

Due to that the special characters got changed to "Dash" instead of "Long Dash."

 

Thanks to Everyone for sharing some insights on this issue!!!

caltang
17 - Castor
17 - Castor

Awesome! Yes, V_WString is what you need. It's tricky sometimes, gets the best of us. Glad you solved it and thanks for letting us know!

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels