Free Trial

Alteryx Designer Desktop Discussions

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

How to transpose messy data + match / join manipulation

Taxautomation
6 - Meteoroid

Hi, I have data that looks like this. The data is annoyingly a horizontal output where the top row is a sort of ID. I want to transpose this data, so the ID are on the left column and all the relevant data lines up.

XYZ 1201121312761310131113991455
         
ABC1 5     
UIOf k     
TYUP 9p     
GHJ42 113051     
VBM76 -51     

 

Then, I have another file like this below. I have to make my data at the top eventually match the below so that it can be uploaded. Note Field1 is the ID. 

Log VALIDATEField1Field2Field3Field4Field5Field6Field7Field8Field9Field10Field11Field12Field13Field14Field15Field16Field17
Required 12011202412Tax1  f  76 42  P
  12135202412Tax5  k  -51 113051  9p
                   

 

I have a file that maps each code on the first file to the field like this. The plan is to use this a match lookup value so that I can then populate the template (middle table on this post)

XYZField1
  
ABCField6
UIOField9
TYUField17
GHJField14
VBMField12

 

I had setup pivot tables on excel but it's crashing maybe due to the volume of data. Additionally, the values on the fields on my source data are very long and they get truncated on my pivot. Hoping Alteryx can jump in to have something we can rely on for these batch uploads.

2 REPLIES 2
KGT
13 - Pulsar

I'm not sure where you're struggling. If you transpose both tables, then join one to the lookup, then that result to the other table. What is not working there? Are you able to post the attempt?

Calvin6KV
6 - Meteoroid

You can use both the cross tab and transpose tools to "flip" your data columns and rows. For the field names, just use a dynamic rename to update the names using the reference table. I attached a sample workflow for reference. Hope it can help to solve your issue. 

Labels
Top Solution Authors