Alteryx Designer Desktop Discussions

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

Reversing a Comma Separated String

AbhishekMehta
5 - Atom

 Hi Everyone, 

 

Hope you are doing great. 

 

I'm actually stuck on one step where I need to reverse a comma separated string. 

 

My String looks like this: this, on, help, need, I 

I want the value this way: I, need, help, on, this

 

Note: The no of comma separated values in each row is different. 

 

I would really appreciate if someone can help me out with this. 

 

Thanks 

4 REPLIES 4
DavidP
17 - Castor
17 - Castor

Hi @AbhishekMehta 

 

Something like this?

 

DavidP_0-1597309540493.png

 

AbhishekMehta
5 - Atom

Thank you, appreciate your help. 

 

However this would consolidate data from all rows into just one cell. The data set that I have has thousands of rows:

 

Input Data

Row NoData Values
1Feature,Control
2this,on,help,Need 
3serious,so,Why
4Roger,is,Name,My,Hello

 

Expected Output:

Row NoData Values
1Control,Feature
2Need,help,on,this
3Why,so,serious
4Hello,My,Name,is,Roger

 

Please let me know your thoughts on this. 

 

Thanks

 

DavidP
17 - Castor
17 - Castor

Hi @AbhishekMehta 

 

In that case I'll use a tile tool and grouping option in the Summarize tool, like this:

 

DavidP_0-1597312810009.png

 

AbhishekMehta
5 - Atom

This is Perfect, Thank you so much 🙂 

Labels
Top Solution Authors