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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out 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

Labels (1)
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