Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Cleaning Data

sgaryali
8 - Asteroid

Hi

 

I want to separate only Night Shift from Column Leave type into new column.

I can do this by text to column tool but in few rows there are only two types of leave and in few three.

So this won't be the effective way to do this plus I don't know max number of leaves types in one row.

What are the other ways to achieve this?

3 REPLIES 3
binuacs
21 - Polaris

@sgaryali Use RegEx parse to extract only the "Night Shift"

 

Spoiler
binuacs_0-1640330146347.png

 

 

Qiu
21 - Polaris
21 - Polaris

@sgaryali 
We cab first split to rows then do a crosstab. This will be dynamic

1224-sgaryali.PNG

Qiu
21 - Polaris
21 - Polaris

@sgaryali 
Sorry, seems I misunderstood. this is the updated one.

1224-sgaryali-r1.PNG

Labels
Top Solution Authors