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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
khan_imran
Creator II
Creator II

Excluding empty file while loading

Hello All,

I am having thousands of Excel files which contains empty files as well.

My requirement is that i want to ignore all files which are completely empty.

Kindly suggest.

Regards,

Imran Khan

2 Replies
tomasz_tru
Specialist
Specialist

sasiparupudi1
Master III
Master III

May be check the file size

For each File in Filelist('C:\Test\*.xlsx')

Let vFileSize=FilelSize ('$(File)');

If $(vFileSize)>8000 then

Load stmt

End if

Next