Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
Is it possible to place lots of Excel documents in a directory (all of the same structure) and have Qlikview read them all, without needing a load script for each?
Thanks
Use a For each loop. See Loops in the Script
HIC
Hi,
Try,
For each vFile in FileList('$(vPath)\*.xl*')
let vFileFormat = if(right(vFile, 1) = 'x', 'ooxml, embedded labels, table is Sheet1', 'biff, embedded labels, table is [Sheet1$]');
TableName:
load
'$(vFile)' as SourceFile,
*
from [$(vFile)]
($(vFileFormat));
next
Check the below link