In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Sort characters within a field

slckkrky
8 - Asteroid

Hello everyone

 

I am trying to sort field characters regardless of what value is in the field  i.e. "Value= Chocolate", I need "accehloot" or "Value= apple2", I need "2aellp"7

 

Is there any way to do that?

 

Thank you in advance

3 REPLIES 3
DataNath
17 - Castor
17 - Castor

Hey @slckkrky here's how I'd go about this. We just split the records into individual characters before sorting them and then re-concatenating to get back to a single cell value. Hope this helps!

Rags1982
10 - Fireball

Agree with @DataNath 
Out of curiosity, why would you want to do this? 

slckkrky
8 - Asteroid

I am investigating new ways to fuzzy match values. I will sort all characters of multiple fields , create a new field to match and see if the result will get any better.

Labels
Top Solution Authors