We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Batch Macro - reaading multiple input files

sneha_bhiwagade1
8 - Asteroid

Hi Team,

 

I have a batch macro which reads 50 input files. 

 

 
 

batch macro.JPG

refer the above screenshot of my batch macro. As in each  50 files data is not present on same line number that's why i have created above match macro. (by checking the condition of empty column and then reading the headers from first row of data)

 

Now in 50 input files in some files there is mismatch in header names 

 

for example in some file the headers is "Roll NO" (with space ) an in some file I a getting the header without space as "RollNO".

 

Is there any alternate way to fix this and read both file dat under one header. 

 

or is there any way to inform users that the respective file headers are not correct or there is space in headers.

 

 

Many Thanks in advance!!

 

 

 

3 REPLIES 3
gawa
16 - Nebula
16 - Nebula

hi @sneha_bhiwagade1 

 

If you are sure of order of columns are identical for every files, you can specify "Auto Config by Position..." option in Interface Designer, then all data are forcibly combined. Please try it out. 

 

image.png

sneha_bhiwagade1
8 - Asteroid

thank you!!  @gawa 

omkarshinde
8 - Asteroid

@gawa any way to add filename as extra column with every record while reading multiple files via this batch macro?

Labels
Top Solution Authors