Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I am importing from several source files, so to import from all of them in one go I'm doing something like:
LOAD @1:6 as HDR,
@7:11 as Comp,
@12:22 as [Doc Number],
@23:27 as Year
FROM
For Each file in D:\QlikView\Sourcefiles\
vFilename = file.name
LOAD @1:6 as HDR,
@7:11 as Comp,
@12:22 as [Doc Number],
@23:27 as Year,
vFilename as FileName
FROM
Next
Hi,
If i understood your question, below is the code for you problem
LOAD @1:6 as HDR,
@7:11 as Comp,
@12:22 as [Doc Number],
@23:27 as Year,
filebasename() as FileName
FROM
Hope this will help you.
- Sridhar
Hi,
If i understood your question, below is the code for you problem
LOAD @1:6 as HDR,
@7:11 as Comp,
@12:22 as [Doc Number],
@23:27 as Year,
filebasename() as FileName
FROM
Hope this will help you.
- Sridhar
Thanks Sridhar, that's perfect.
cheers,
Tony