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

Alteryx Designer Desktop Discussions

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

File handling based on extension e.g. excel or csv (",", ".", "|", ";", ":", "\t")

danial_j
8 - Asteroid

Hi all,

 

There must be a way to recognise a file type (e.g. csv or excel) then process it accordingly. Any recommendations how this could be handled?

 

The idea is that the user is prompted to select which file type is it e.g. csv or excel and then the workflow reads the excel or csv regardless of user specifying the delimeter. This would be useful to view the contents of the files with more than 10 million rows as excel has limitations.

 

Thank you in advance for your replies.

3 REPLIES 3
PhilippK
Alteryx Alumni (Retired)

Hi @danial_j ,

 

you can leverage the DIRECTORY tool for that (cf. attached).

 

Best regards

Phil

danial_j
8 - Asteroid

Hi @PhilippK , thank you for your response. Is there a workaround other than directory tool? The problem with directory tool is that it is supported in the gallery because of restricted system level access

PhilippK
Alteryx Alumni (Retired)

With Analytical Applications you can ask the user to read in certain file types only.
More precisely, you need the FILE BROWSE tool:

screenshot.png

Here you can learn more about the concept of Analytical Apps:

https://community.alteryx.com/t5/Interactive-Lessons/tkb-p/interactive-lessons/label-name/Creating%2...

 

I hope this helps you Danial.

Labels