We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Transpose Matrix data to Column formate

SomuGS
8 - Asteroid

Hi,

 

I'm trying to transpose a matrix dataset into column format in two columns RelatedFromID & RelatedToID,

 

1. Where the RelatedFromID is always "1001" in level 1 and RelatedToID is taken from level 2, has to happen until the last data in Level 1 column

2. Once the iteration in Level 1 is done, the iteration should pick level 2 data and put in RelatedFromID and pick level 3 data in RelatedToID and this should happen until the last level 11.

3. Finally I need to assign GID (unique ID) based on common ID

 

The sample data and desired output is attached. I'm still contemplating on how to assign GIDs.

 

Thanks!

Bharat

2 REPLIES 2
Christina_H
14 - Magnetar

This will convert the matrix into the output format.  I'm using the GID to remove duplicate values.

Christina_H_0-1682419034268.png

 

SomuGS
8 - Asteroid

Hi Christina!

 

Thank you for helping this helped.

 

Thank you!

Bharat

Labels
Top Solution Authors