Start Free Trial

Alteryx Designer Desktop Discussions

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

Trouble Transposing Data

wonka1234
10 - Fireball

Hi,

 

How can I transpose my dataset from - 

 

TypeLocation
BeverageCoke-77777
Pop1234
Pop4567
Pop8910
BeverageSprite-88888
Pop9876
Pop5432

 

to this - 

 

TypeType2Location1Location2
BeveragePopCoke-777771234
BeveragePopCoke-777774567
BeveragePopCoke-777778910
BeveragePopSprite-888889876
BeveragePopSprite-88888

5432

 

having trouble doing this.

4 REPLIES 4
aatalai
15 - Aurora

@wonka1234 got what you are looking for, but not by using transpose given the data structure

wonka1234
10 - Fireball

@aatalai  thanks. Location2 column seems incorrect though

aatalai
15 - Aurora

@wonka1234 updated should be correct now

rzdodson
12 - Quasar

@wonka1234 here is a solution that is a bit longer but gets the correct output for you.

 

Solution.png

Labels
Top Solution Authors