ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. 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

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #257: Palindromes

Blake
クエーサー

A man a plan a canal panama

 

スポイラ
Blake_0-1614696657756.png

 

See below for a video walkthrough.

 

スポイラ
patrick_digan
17 - Castor
17 - Castor

It's also fun to use @jdunkerley79 's alteryx abacus variable functions. You can do so much more in the formula tool.

スポイラ
patrick_digan_2-1614611473827.png

 



patrick_digan_1-1614611416638.png

 

 

Maskell_Rascal
パルサー

This was a fun one, and highlights a rarely used (at least by me) function of reversing strings. 

スポイラ
Maskell_Rascal_0-1614612923826.png

 

balajilolla
アステロイド
スポイラ
Solution Attached

balajilolla_0-1614613739835.png

 

Toons
クエーサー

My solution :

 

スポイラ
Toons_0-1614616166556.png

 

RolandSchubert
16 - Nebula
16 - Nebula
スポイラ
257.jpg
DeanWest
コメット

racecar 🏎

 

スポイラ
challenge_257_solution_DeanWest-snippet.png

 

 

jamielaird
マグネター

That was good fun. Here's my solution:

 

スポイラ
jamielaird_0-1614621017308.png

 

jamielaird_1-1614621024329.png

 

phottovy
13 - Pulsar
13 - Pulsar

No macro needed:

スポイラ
257.PNG
MPard
メテオロイド
スポイラ
MPard_1-1614624038819.png

I was able to parse the palindromes with a simple formula, after that filtering to get the data was a breeze!

The formula I used to detect palindromes is:
IF ((ReverseString(Right([Words], (length([Words]) - Mod(length([Words]), 2)/2)))) = (Left([Words], (length([Words]) - Mod(length([Words]), 2)/2)))) THEN 1 ELSE 0 ENDIF

This formula takes the last half of the word (excluding one character for odd length words), flips it, and compares it to the first half of the word (excluding one character for odd length words). Awesome to see Modulo is available in the formula operation, super useful for dynamic formulas like this!