Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Transform Table with several values in one row per ID

VictoriaBuet
6 - Meteoroid

Hi! I need to transform this table which have 18000 rows (3000 employees):

VictoriaBuet_1-1658521601215.png

 

Into this one:

VictoriaBuet_0-1658521567584.png

 

Each employee should have just 1 row of values, making KAP-Audit, PIC-Audit & EQR-Audit as columns. If more than 1 value in those columns, should be on the same row but with a line break. It's possible those rows do not have any values, 1 value or up to 10 values in each column.

 

Also attached the flow with input file and the desired output.

 

Thanks in advance!

2 REPLIES 2
IraWatt
17 - Castor
17 - Castor

Hey @VictoriaBuet,

Here is one way to do this with the corss tab tool:

IraWatt_0-1658522352399.png

The \n separator creates a new line. 

IraWatt_1-1658522398095.png

 

This solution uses the cross tab tools which can be hard to understand to new users. I would recommend checking out the community Getting-Started-Learning-Path for some context on how they work: https://community.alteryx.com/t5/Learning-Paths/Getting-Started-Learning-Path/ta-p/475117#done 

 

Any questions or issues please ask! 
Hope that Helps

Ira Watt
Technical Consultant
Watt@Bulien.com 

Emmanuel_G
13 - Pulsar

Hi @VictoriaBuet ,

 

One way to do this

Emmanuel_G_0-1658522527191.png

 

Labels
Top Solution Authors