Alteryx Designer Desktop Discussions

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

Find True and False

mmustkee
9 - Comet

Hi Team,

 

 I have data and wants to find True and False. I want if first three letters and last three letters are the same then we should mark as True or False.

 

Please find example below:

AAResult
abs/zsd/rdfFALSE
abs/zsd/absTRUE
tbs/zsd/absFALSE
zbs/zsd/absFALSE
zbs/zsd/zbsTRUE
4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @mmustkee 

 

You can use Left() function to get first 3 and Right() function to get last 3 characters and compare them.

 

You can refer to the documentation page for its usage https://help.alteryx.com/20221/designer/string-functions

 

Hope this helps : )

mmustkee
9 - Comet

Hi 

 

Thanks for your response however The letter keeps changing and different every time.

Could you show me while creating workflow.

suby
11 - Bolide

See the attached Workflow hope this helps.

atcodedog05
22 - Nova
22 - Nova

Hi @mmustkee 

 

Left() function and Right() function are dynamic to get first 3 and last 3 characters. Hence it should be able to handle it.

 

Here is a workflow with explanation

atcodedog05_0-1653472591829.png

 

Hope this helps : )

 

Labels