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

Transforming columns of data into new rows

ltensmeyer
8 - Asteroid

I have a census that is formatted strangely:

ltensmeyer_1-1684516852387.png

 

Currently, we have an employee followed by a dependent, their relationship, and DOB. This pattern just repeats if there are multiple dependents. I'm trying to get this table like this:

ltensmeyer_3-1684516928795.png

 

With each dependent having their own row of information (including the employee they are a dependent of). Any ideas on the most effective way to achieve this?

Thank you!

 

4 REPLIES 4
Luke_C
17 - Castor
17 - Castor

Can you attach the data in excel rather than a screenshot?

ltensmeyer
8 - Asteroid

Here's the excel sheet 

Luke_C
17 - Castor
17 - Castor

Hi @ltensmeyer 

 

Here's an example using the transpose/cross tab tools. I also used the multi-rows to help separate multiple dependents.

 

Luke_C_0-1684518852010.png

 

 

ltensmeyer
8 - Asteroid

@Luke_C  Exactly what I was looking for! Thank you!

Labels
Top Solution Authors