Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

How can i extract date information with right trim

kenan_turker
アトム

Dear Community 

 

I am looking for a  solution to extract just date information from below values. 

 

 

KW1_MDA_AllAvailable_10-01-2022_14-18-11

KW13_MDA_AllAvailable_04-04-2022_08-06-48

KW25_MDA_AllAvailable_27-06-2022_08-10-43

 

The formula will need to produce below outputs 

10-01-2022

04-04-2022

27-06-2022

 

Anyone who can help ? 

2件の返信2
BS_THE_ANALYST
マグネター

@kenan_turker two methods here:
One uses RegEx:

BS_THE_ANALYST_0-1677669622668.png

One uses the Text to Columns:
1) Use delimiter as _

BS_THE_ANALYST_1-1677669667997.png

2) Select columns you want:

BS_THE_ANALYST_2-1677669682127.png

 

 

ShankerV
キャスター

Hi @kenan_turker 

 

One way of doing this.

 

ShankerV_0-1677669679340.png

 

ラベル