Discussion board where members can get started with Qlik Sense.
Hi guys, how can i load QVD file only if QVD has records?
You Could try the next option:
if filesize('NAME_QVD.qvd') > 0 then
/*In this part you should put what happens if you do not load the qvd. For example load table from database */
TABLE1:LOADA,B,C;SQL SELECT A, B, CFROM TABLE_BBDD;
If you put "exit script" the script it will end. You can put:
....and continue with the rest of the script or finish the reload with other exit script.
If what you need is to trace the code it is best to put in debug mode: