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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
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