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

load multiple Excel in one table + Excel name in a column

I have a few excel files which I load into QV like this

table1:

Load

     field1

     field2 ...

from C:\file*.xlsx (ooxml, embedded labels, table is Part1);

That's working fine, but now I want to add another coloumn/field to my table1 which contains the excelfile name and another field which contains the spreadsheet name.

How can I change my script to add the file name and the name of the spreadsheet into the table?

1 Solution

Accepted Solutions
rajni_batra
Specialist
Specialist

table1:

Load

     field1,

     field2 ,

Filename() ...

from C:\file*.xlsx

Filename function returns u the name of the file u r loading. u can check wid this .

View solution in original post

2 Replies
rajni_batra
Specialist
Specialist

table1:

Load

     field1,

     field2 ,

Filename() ...

from C:\file*.xlsx

Filename function returns u the name of the file u r loading. u can check wid this .

Not applicable
Author

perfect , so simple and I couldn't find it myself