Hello, downloaded Alteryx today and I am having lots of fun with it.
I have a very punctual question. How can I create a workflow to parse a number to detect if it is a palindrome (for example 12321 or 1987891)
Thanks in advance!
Rodrigo
Solved! Go to Solution.
OMG so many nice features on Alteryx! Thanks Nicole.
The first step worked and I got the reversed numbers. I am looking at the Filter option but don't find how to test it.
Should I create a new file out with the reversed numbers and then blend the original to it and compare?
Thanks NJ!
hahaha everything seems so obvious... thanks a bunch.
My original goal is to check if the fields are palindromes and add a column saying True on those that are, leaving those that aren't with nothing.
Thanks for great help!
I think we are almost there thanks so much.
Now I see True on the Number column and the Number shows up in the ReverseNumber column.
How can I show True on the second column?
I kind of know most of these conditional formulas from Tableau but this seems so much more powerful :)
Hey I got it! Thanks a lot Nicole!
I will never forget you my first Alteryx friend lol :)
Awesome! No problem - I think you will quickly find you have many friends here on the Alteryx Community!! :) Good luck, have fun exploring!
NJ
My friend @NicoleJohnson has given you some great advice. Here's a treat for Halloween...
REGEX_Match(tostring([NUMBER_TO_TEST]), "^((.)(?1)\2|.?)$")
Guess what that does ....
Cheers,
Mark