Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
Dear Friends,
Kindly let me know your valuable suggestions for my query.
I have an application with an input box through which the user load his single excel file into the application.
Now the user wish to load more than one file at a same time to achieve some functionality, so as per my point of view I need to include a loop in my script to load more than one file at a same time.
I am new to loops in QlikView, kindly let me know your suggestions.
I have included the application for your reference, kindly let me know
Thanks so much and I appreciate your time.
Regards,
Kiru
 
					
				
		
'E:\qlikview\*.xlsx' in your input field and script will load all xlsz files located in the qlikview folder
 maxgro
		
			maxgro
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		do you need a loop?
example with this
'C:\tmp\test\a*.xlsx'
you can load all a.....xlsx fiels
Product:
LOAD [Product ID],
Product
FROM
$(Path)
(ooxml, embedded labels, table is Sheet1);
 
					
				
		
'E:\qlikview\*.xlsx' in your input field and script will load all xlsz files located in the qlikview folder
 
					
				
		
Hello Massimo,
I appreciate your time;
I need to achieve some other functionality along with this.
So as a first step, I am trying to include a loop to invoke more than one file through UI.
Thanks,
Kiru
 
					
				
		
Thanks Kozins, I appreciate your time!
Kiru
 maxgro
		
			maxgro
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		directory;
table: load '' as field autogenerate 0;
For Each vFile in FileList($(Path))
concatenate(table)
LOAD *
From [$(vFile)]
(ooxml, embedded labels, table is Sheet1);
next;
 
					
				
		
Thanks Grossi, it worked!!
