Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to read multi file from folder with difference schema

patcharika
5 - Atom

Ex. input

patcharika_5-1607501850151.png

patcharika_6-1607501862958.pngpatcharika_7-1607501904259.png

after read all file output is :

patcharika_8-1607501938967.png

 

 

patcharika_3-1607500967591.png

if you want to input data with multi file. you can use directory to connect your folder. picture above is use case on my work. Actually, you can use  macro to read multi file and in my logic is compare column first and select file that have column more than another file to read fist and then use macro2 for read file again

 

patcharika_1-1607500921159.png

read file difference schema for finding file that have column more than another file

patcharika_4-1607501005667.png

after you know file that have most column you can read file manage by macro read by column name 

 

 

 

ps. im sorry with my English is not good but I just want to share. I thought that would be useful.😁

 

 

1 REPLY 1
BrandonB
Alteryx
Alteryx

Thank you for sharing @patcharika

 

Here is one of my favorite articles on different considerations when ingesting data of different schemas: https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/The-Ultimate-Input-Data-Flowchart/t...

 

And a helpful macro that can read in directories of files easily with a nice interface: https://community.alteryx.com/t5/Engine-Works/The-Ultimate-Alteryx-Holiday-gift-of-2015-Read-ALL-Exc...

Labels
Top Solution Authors