Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Data restructuring in Alteryx

GaRaGe
8 - Asteroid

I have a data in the below format

 

LocationBurnit    
UnitNFE    
Date2-Feb-14    
WorkRepair    
TypeXDF    
BrandPoly    
ID   12EE4134U
Grade   21
densityat 450L09kg2144
 at 300M09ml12002344
compositionCCD12%<1>1
 BME44%10.5

 

I would like to restructure it to the format below so that i can make better analysis out of it

 

LocationUnitDateWorkTypeBrandIDGradeMetriclevelcodeMeasurereadinglowerupper
BurnitNFE2-Feb-14RepairXDFPoly12EE42densityat 450L09kg21  
BurnitNFE2-Feb-14RepairXDFPoly12EE42densityat 300M09ml1200  
BurnitNFE2-Feb-14RepairXDFPoly12EE42compositionCCD12%  1
BurnitNFE2-Feb-14RepairXDFPoly12EE42compositionBME44%1  
BurnitNFE2-Feb-14RepairXDFPoly134U1densityat 450L09kg44  
BurnitNFE2-Feb-14RepairXDFPoly134U1densityat 300M09ml2344  
BurnitNFE2-Feb-14RepairXDFPoly134U1compositionCCD12% 1 
BurnitNFE2-Feb-14RepairXDFPoly134U1compositionBME44%0.5 

 

 

Note: I have many such tables stored as multiple tabs within an excel sheet. My workflow needs to surf through each tab and do the above restructuring process and finally append all the data together into a single table. 

 

I would like to know if such a restructuring process is possible in Alteryx. Any suggestions? Thanks

3 REPLIES 3
haroon_sa
10 - Fireball

@GaRaGe

you can try append fields and configure it as your need.let me know if it works or not

Hakimipous
10 - Fireball

@GaRaGe

As for the first part of the table it's doable quite easily. 

 

but then I can seem to see any logic in the rest of the data on how it is aligned (strarting from ID).....  In such case I would deal with them manually, but then that can't be as dynamic as you want

 

Here is the workflow on how I dealt with the first part of the table, hope that helps a bit

BenMoss
ACE Emeritus
ACE Emeritus

Hi!

 

Here is a sample workflow that restructures your data.

If you wish to process multiple tables through this workflow you should perhaps consider a batch macro. Or you could ammend the workflow and group by a 'tableID' at each stage.

 

This should give you a good starting point though.

 

Ben

Labels