Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is it possible within a Qlik Sense script to extract part of the file name from a data file and then append that to the table you are loading in?
For example, if the file is named, 'Assets-18ABCJAN12.xlsx', would it be possible to only grab the '18ABCJAN12' and add into the table as a new field?
You can definitely do this using the FileBaseName function
LOAD Subfield(FileBaseName(), '-', 2) as FileDetails, ... FROM ....;
You can definitely do this using the FileBaseName function
LOAD Subfield(FileBaseName(), '-', 2) as FileDetails, ... FROM ....;