Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Change Table Orientation

saachitalwar
8 - Asteroid

I have date in the form:

 

h2h1CCYvalueabs value
heading 2heading 1EUR-345364564638397274
heading 2heading 1GBP-3453610361623
heading 2heading 1CHF87564531105099
heading 2heading 1SEK00
heading 2heading 1AUD-2104385.82104386
heading 2heading 1JPY-3097780.033097780
heading 2heading 1USD55327648.3155327648
heading 2heading 1DKK00

 

and need to convert it to the form:

 

CCYvalueabs value
heading 1 
heading 2 
EUR-3.5E+0938397274
GBP-3453610361623
CHF87564531105099
SEK00
AUD-21043862104386
JPY-30977803097780
USD5532764855327648
DKK00
JPY-30977803097780
USD5532764855327648
DKK00
3 REPLIES 3
cjaneczko
13 - Pulsar

Looks like all you are looking to do is put the headings above the data. You can transpose the first two fields, find the unique values and then Union them back into the original dataset. 

Brando
8 - Asteroid

Hey @saachitalwar 

 

Here's my attempt at solving your problem, it's not super graceful but gets the job done!

aatalai
14 - Magnetar

@saachitalwar take a look at this

Labels