Hi Community,
May I know how to import txt. file into the alteryx and how to build the workflow so that alteryx will read the information inside the file.
Kindly refer to the txt file below and i would like to import multiple txt file inside the Alteryx. May i know what the better way to import and how to build the workflow so that the information are captured correctly.
Solved! Go to Solution.
Hi @SH_94,
this article will show you How to input txt files
Reagrding importing multiple files into alteryx I am assuming they are in the Same folder. If that is the case the easiest way to do it is using wildcard. Please check the article below for few words of guidance:
https://www.thedataschool.co.uk/jonathan-sherman/alteryx-importing-multiple-files-at-once/
both of them should be really easy to implement😅
Hi @Emil_Kos ,
Is it applicable to txt format as well? As the example given are only xlsx. Do you have any example of workflow that importing the txt file and editing the text file in alteryx?
Hi @SH_94,
This is an example in which I have imported a text file:
this is the configuration that I have used:
The output:
This is only for tests but the guide that I found advises to import the data without delimiters and clean the data with the text to columns function afterwards.
In your particular example, I think it will take you a while to clean the data in a way that will be useful.
Maybe you can use start importing a function from the input file to minimize the amount of unnecessary data.
What I would do is I would focus on importing one file properly and after it will work I would come back to the idea of importing all the files at once.
Hi @Emil_Kos ,
Thanks a lot for the advise. May i know what should i choose for the following options to import the txt file?
Hi @Emil_Kos
It appear the error as shown in the screenshot below. Do you have any idea how to solve it?
Thank you.
Hi @Emil_Kos
Yes. It is same as per your screenshot. However, i think the error due to i have extra line after 34. Is that possible?