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. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

Split words from a String

ankit0412
5 - Atom

Hello,

How can I splits Days column into 5 different columns as below

 

Thank You

 

DaysMonTueWedThrFri
MM    
MTMT   
MTWMTW  
MTWRMTWR 
MTWRFMTWRF
4 REPLIES 4
Gaurav_Dhama_
12 - Quasar

You need to split the word into rows and then cross tab them to get back the tabular data. Attached is the workflow demonstrating the same.

Qiu
21 - Polaris
21 - Polaris

@ankit0412 
How about we directly split the string to 5 columns.

0810-ankit0412.jpg

binu_acs
21 - Polaris

@ankit0412 one way of doing this

binuacs_0-1754782166876.png

 

aatalai
15 - Aurora

@ankit0412 another way would be using the formula tool and if contains e.g

 

IIF(Contains([Days], "M"), "M", null())

 

Screenshot 2025-08-11 114352.png

Labels
Top Solution Authors