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.

Data Validation

vijaylnyadav
8 - Asteroid

Hi All,

 

Consider the following sample data,

 

Full PathDirectory File Name
C:\xxxxxxxxxxxxxMaths Syllabus.dat
C:\xxxxxxxxxxxxxEnglish Syllabus.xlsx

 

I want to read i.e access several text and excel files from a directory tool means all the files under file name i.e Maths Syllabus, English Syllabus, etc

 

How can i do that? 

6 REPLIES 6
Emil_Kos
17 - Castor
17 - Castor

Hi,

 

I believe the easiest way would be using two inputs tool and the wildcard to import mutliple files.

 

Please watch this movie to understand it better:

 

https://www.youtube.com/watch?v=1y1gFXDkYwA

 

If this was helpful please mark as a solution. 

vijaylnyadav
8 - Asteroid

Here i have a different number of columns and different number of data types.

 

Please suggest me alternative solutions so that I can do my assignment

Qiu
21 - Polaris
21 - Polaris

@Emil_Kos 

😓

Emil_Kos
17 - Castor
17 - Castor
vijaylnyadav
8 - Asteroid

Thanks a lot for your help.

 

Now i need one more favour and that is "I want to save different validated excel files into a file location in a excel format" where i will ask the user to specify the output folder and after that the different excel files are saved according to the file name

vijaylnyadav
8 - Asteroid

I am facing a issue with this worflow and that is if I am using excel file as a input it is showing error and that error is: Error: union_csv (2): Record #9: Tool #1: Error reading "xxxxxxx": Too many fields in record #2.

 

Here, I want to take input as a text file and as a excel file also.

 

Please suggest a solutions.

Labels
Top Solution Authors