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

Changing data structure (crosstab)

gkcekucuk
5 - Atom

Hi, 

 

I need help with restructuring some data. 

 

The data schema I am working with has tables such as products, purchasers, sellers etc. I am trying to build a view to see the transactions clearly. The purchaser and seller information is kept in the attached sample data (current data sheet) and I would like to get it to the structure in the Desired Data sheet. 

 

I have created a workflow to do this with a bunch of cross-tab tools and a join multiple tool (also attached) but it is working really slowly. Is there a more efficient way to do this? 

 

Thanks!

3 REPLIES 3
DataNath
17 - Castor
17 - Castor

Hey @gkcekucuk, how does something like this look? The main part of the workflow stops at the Cross-Tab. The Dynamic Rename/Multi-Field Formula are just for a little bit of cleanup:

 

DataNath_0-1667915040395.png

 

Edit: Added in an extra step to maintain the desired order of fields:

 

DataNath_0-1667915991397.png

Hamder83
11 - Bolide

Hi @gkcekucuk 

Could it be something like this?

Hamder83_0-1667915800805.png

 

gkcekucuk
5 - Atom

Hi @DataNath . I implemented it and it worked! Thank you :) 

Labels
Top Solution Authors