Discussion Board for collaboration on QlikView Scripting.
I have some very straightforward code that should work but simply doesn't:
NULLASVALUE *;SET NullValue ='NA' ;LOAD*FROMMyFile.qvd(qvd);
NULLASVALUE *;SET NullValue ='NA' ;
The code executes without errors as shown in the script:
05/28/2013 11:20:51 AM: 0034 NULLASVALUE *05/28/2013 11:20:51 AM: 0035 SET NullValue ='NA' 05/28/2013 11:20:51 AM: 0038 LOAD05/28/2013 11:20:51 AM: 0039 *05/28/2013 11:20:51 AM: 0058 FROM05/28/2013 11:20:51 AM: 0059 MyFile.qvd
But it has no effect whatsoever if you look at the attached picture.
What am I doing wrong? I have exactly the same problem on two different computers, running QlikView 11.00 SR2 and 11.20 SR1.
Go to Solution.
Optimised QVD loads do not reprocess the data within the QVD row by row and
thus it will not apply the NullValue to the data. To get around this you must
force an unoptimised load of the QVD. You can add the WHERE clause to get around this
FROM myfile.qvd (qvd)
Hi Use this
SET NULLDISPLAY= NA;
or SET NULLDISPLAY= 'NA';
Thanks a ton! This was driving me crazy.