Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
jyothish8807
Master II
Master II

Generate a field from the file name


Hi All,

I have 10 Excels with different names.Now i want to create a field "Name" in the table, automatically which should pull the file name into it, with corresponding to its data.

How can i do this?

Regards

KC

Best Regards,
KC
1 Solution

Accepted Solutions
PrashantSangle

Hi,

USe

FilebaseName() as Name

FilebaseName() return FileName

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

4 Replies
PrashantSangle

Hi,

USe

FilebaseName() as Name

FilebaseName() return FileName

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
anbu1984
Master III
Master III

LOAD FileName() As Name,

A,

B

FROM

[ExcelFile.xls]

(ooxml, embedded labels, table is Sheet1);

alexandros17
Partner - Champion III
Partner - Champion III

Load

....

Filename() as myFileName

From

...

Let me know

jyothish8807
Master II
Master II
Author

Thanks a lot everyone

Best Regards,
KC