Free Trial

Alteryx Designer Desktop Discussions

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

Add a new line to label a group

rohan146
6 - Meteoroid

Hi,

 

i am looking at a method that adds a new line to add the label for corresponding group of records.

 

Heres what i am looking at:-

 

This is what my input file looks like:-

 

ABCDGroup_Label
1234ABC
1234ABC
1234DEF
1234DEF
1234DEF
1234GHI
1234GHI
1234GHI
1234GHI
1234JKL
1234JKL
1234MNO
1234PQR
1234PQR

 

 

 

Heres what i desire the output file to look like:-

 

 

ABCDGroup_Label
ABC    
1234ABC
1234ABC
DEF    
1234DEF
1234DEF
1234DEF
GHI    
1234GHI
1234GHI
1234GHI
1234GHI
JKL    
1234JKL
1234JKL
MNO    
1234MNO
PQR    
1234PQR
1234PQR

 

 

So basically keeping rest of table intact, only new rows with label of the Group of transactions below, to be introduced.

 

Any pointers towards this will be most helpful.

 

Regards,

 

1 REPLY 1
atcodedog05
22 - Nova
22 - Nova

Hi @rohan146 

 

Here is a workflow for the task. I am creating a blank row for each group and adding it back.

atcodedog05_0-1621877420848.png

 

Hope this helps 🙂

 

Labels
Top Solution Authors