Alteryx Designer Desktop Discussions

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

Creating a new column for grouping after splitting text to columns(rows)

arlok2005
6 - Meteoroid

i have a date field that has the following inputs

Column
A|B|C
D|E|F|G 

 

I want as below

ColumnGrouping
AGROUP1
BGROUP1
CGROUP1
DGROUP2
EGROUP2
FGROUP2
GGROUP2

 

Able to split using text to columns-row feature,but how do i get the Grouping column?Any inputs would be appreciated.

4 REPLIES 4
JosephSerpis
17 - Castor
17 - Castor

Hi @arlok2005 I mocked up a workflow let me know what you think?

wdavis
Alteryx
Alteryx

Hi @arlok2005 

 

To do this, you can apply a RecordID at the start of the workflow to provide your groups. Then using a Text to Columns tool you can 'Split to Rows' which will get the table you are after!

 

I have attached a workflow which replicates this. Let me know if this works.

 

Kind Regards

Will

cmcclellan
13 - Pulsar

cmcclellan_0-1595405320052.png

Create a Record ID before the split, then just add GROUP and remove the Record ID field

 

grazitti_sapna
17 - Castor

Hi @arlok2005 , try this.

grazitti_sapna_0-1595405884267.png

 

Sapna Gupta
Labels