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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to get the filename out of the load?

I need put on variable a name of excel file....

anyone have some ideia?I look a FILENAME() function....but it works just on load..

tks !!!!!

1 Reply
colinh
Partner - Creator II
Partner - Creator II

Hi Erico

Do you want to put the filename into a variable? This should work:



load FileName() as FileName
from "C:\file.xls";

let vFileName = FieldValue('FileName', 1);


FileBaseName() will give you the filename without the extension.

Hope this helps...