Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Draw data from multiple text files

Hi There,

I am drawing data from multiple text files from a specific folder.
Is there a way of drawing the actual file name in as one of the columns? The idea what I have is as follows, but I do not know how to write it in QV language;


Load
Column1,
Column2,
Column3,
-File Name- AS Column4

from Folder\*.xls (biff, embedded labels, table is Sheet1$);

1 Solution

Accepted Solutions
Not applicable
Author

there is a function called filename() in qlikview.

Load * filename( ) as X from

C:\UserFiles\abc.txt

View solution in original post

1 Reply
Not applicable
Author

there is a function called filename() in qlikview.

Load * filename( ) as X from

C:\UserFiles\abc.txt