Start Free Trial

Alteryx Designer Desktop Discussions

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

Opening multiple text files located in a folder

JohnLight
8 - Asteroid

I'm trying to read in data from multiple documents that are all located in a single folder on my computer. Does anyone know which tool I can use to open them in Alteryx without having to pull them in individually?

7 REPLIES 7
binu_acs
21 - Polaris

@JohnLight Directory tool is one option to read all your files from the folder

 

binuacs_0-1675199563666.png

 

ArtApa
Alteryx
Alteryx

Hi @JohnLight - You will need both Directory and Dynamic Input tools. Please read the following article and review Sample Workflows to learn how to use them: https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Dynamic-Input/ta-p/249...

 

ArtApa_0-1675202872994.png

 

JohnLight
8 - Asteroid

With the directory tool, it only allowed me to view the files and it's metadata, but I couldn't get the contents of the files.

JohnLight
8 - Asteroid

I'm getting an error: " Dynamic Input (32) Error opening the file "*file path*": Access is denied. (5). Do you know how to fix this?

ArtApa
Alteryx
Alteryx

@JohnLight - Have you configured your Dynamic Input? You need to connect it to one of your text files first:

ArtApa_0-1675206960484.png

 

mceleavey
17 - Castor
17 - Castor

 @JohnLight ,

 

You can read a walkthrough of this scenario in this thread:

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Multiple-files-with-multiple-sheets-in...

 

This also has my post with the dynamic tools that will do it all for you, and will bypass the problem of multiple schemas which will inevitably occur.

 

I hope this helps,

 

M.



Bulien

JohnLight
8 - Asteroid

JohnLight_0-1675270058445.png

I don't have a test connection option.

Labels
Top Solution Authors