Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Apply header from one file to another data file

Skyrone
7 - Meteor

Hi everyone,

 

I've been looking in the discussions about that particular need but couldn't find the answer to my question.

 

Here's my struggle. I've got two files :

- File1 : my data

- File2 : the header description of my data

 

I'd like to find a method to automatically apply headers from File2 to File1.

 

Here's an example of File1 :

Field_StringField_DateField_Int
Helloworld36526123
Toto44198456

 

And of File2 (I have it in delimited file, every columns has a length of 30 characters but I adapt it this way) :

FieldnameLengthDatatypeOthers infos…
Field_String000020CHAR 
Field_Date000008DATE 
Field_Int000005INT 

 

Obviously, the metadata obtained with Basic Data Profile on File1 should look like what I have in File2, but that's not entirely the case (especially for date columns).

Do you know a way to do it?

 

Thank you for your help! 

10 REPLIES 10
Skyrone
7 - Meteor

It works, hopefully it will on my data.

 

Thank you again !! That's wonderful news for me...

Labels
Top Solution Authors