<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to display NULL values as 'NULL' instead of '-' in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165600#M37851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, the Nulls displayed and worked well but this doesn't work on the loads exclude I noticed.&amp;nbsp; Does anyone know how to restrict the Null's when loading from from a QVD?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;NULLASVALUE *;&lt;/P&gt;&lt;P&gt;SET NullValue ='NULL' ;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndDate&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\..\Sample.qvd]&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;WHERE&amp;nbsp; EndDate = NULL and StartDate &amp;lt;= Today();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2012 00:07:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-08-28T00:07:53Z</dc:date>
    <item>
      <title>How to display NULL values as 'NULL' instead of '-'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165591#M37842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all. I've got some charts with null values in them. By default, QlikView displays null values as '-'. This doesn't make any sense to my users, so I want it to say 'NULL' instead. I tried a number of things, SET NullValue = 'NULL'; or SET NullDisplay = 'NULL'; but neither worked. Does anyone know how to do this? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 00:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165591#M37842</guid>
      <dc:creator />
      <dc:date>2009-11-26T00:55:23Z</dc:date>
    </item>
    <item>
      <title>How to display NULL values as 'NULL' instead of '-'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165592#M37843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Those variable will only work if NullAsValue is activated for those fields. Try starting with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;NullAsValue *;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;at the beggining of your script. &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 01:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165592#M37843</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2009-11-26T01:01:18Z</dc:date>
    </item>
    <item>
      <title>How to display NULL values as 'NULL' instead of '-'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165593#M37844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also override the display of nulls on each chart. On the Presentation tab, there should be enterable fields for what you want displayed for null and missing values. But I'm sure there's an easier way. I haven't tried what Miguel is suggesting, so the answer might be just that easy.&lt;/P&gt;&lt;P&gt;Another not as easy way is to override the nulls with an actual value of 'NULL' in the script. But that can be inconvenient, because it is then treated as a normal value like any other. I've done that in a case where the users wanted 'Missing' when it was null and should have been there, and 'NA' when it was null but this was expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 01:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165593#M37844</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-11-26T01:15:09Z</dc:date>
    </item>
    <item>
      <title>How to display NULL values as 'NULL' instead of '-'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165594#M37845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That didn't seem to work either. Here's what the beginning of my program looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;NullAsValue *;&lt;BR /&gt;SET ThousandSep=',';&lt;BR /&gt;SET DecimalSep='.';&lt;BR /&gt;SET MoneyThousandSep=',';&lt;BR /&gt;SET MoneyDecimalSep='.';&lt;BR /&gt;SET MoneyFormat='$#,##0.00;($#,##0.00)';&lt;BR /&gt;SET TimeFormat='h:mm:ss TT';&lt;BR /&gt;SET DateFormat='M/D/YYYY';&lt;BR /&gt;SET TimestampFormat='M/D/YYYY h:mm:ss[.fff] TT';&lt;BR /&gt;SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;BR /&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;BR /&gt;SET NullValue='&amp;lt;NULL&amp;gt;';&lt;BR /&gt;SET NullDisplay='Null';&lt;BR /&gt;&lt;BR /&gt;ODBC CONNECT TO ...&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 01:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165594#M37845</guid>
      <dc:creator />
      <dc:date>2009-11-26T01:15:39Z</dc:date>
    </item>
    <item>
      <title>How to display NULL values as 'NULL' instead of '-'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165595#M37846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;BR /&gt;I had this problem and put it in the load script because I did want to see records with / and be able to select records that had #Nulls. I put this code into the QVW that created my QVD data source.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Greenee&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;EM&gt;&lt;/EM&gt;&lt;PRE style="margin: 0px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;EM&gt;Table_A:&lt;BR /&gt;&lt;/EM&gt;LOAD&lt;BR /&gt;"FIELD" AS FIELD;&lt;BR /&gt;SET NULLDISPLAY='#Null' ;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM DATABASE_TABLE&lt;BR /&gt;WHERE etc etc ;&lt;BR /&gt;STORE Table_A into D:\\QVDs\Table_A.QVD;&lt;BR /&gt;Drop Table Table_A;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 01:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165595#M37846</guid>
      <dc:creator />
      <dc:date>2009-11-26T01:43:29Z</dc:date>
    </item>
    <item>
      <title>How to display NULL values as 'NULL' instead of '-'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165596#M37847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greenee is correct. Using SET NULLDISPLAY will replace all NULL values in the fields you load with the value you give it.&lt;/P&gt;&lt;P&gt;Be carefull with this, because it will do it for ALL the fields you load after the SET expression.&lt;/P&gt;&lt;P&gt;You can also use a new SET NULLDISPLAY after each table that is loaded to set a new NULL value for each table. It can help in determining where the NULL values are coming from...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2009 03:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165596#M37847</guid>
      <dc:creator />
      <dc:date>2009-11-26T03:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to display NULL values as 'NULL' instead of '-'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165597#M37848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a similar issue but need to categorize all null values in a table as All Other. Here is what my script looks like. It is not working. Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Part#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Part Category]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Part_Category&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SET&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; NULLDISPLAY='All-Other';&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;FROM&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;FWAR904Final.qvd&lt;BR /&gt;&lt;BR /&gt;(qvd)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 14:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165597#M37848</guid>
      <dc:creator />
      <dc:date>2012-06-20T14:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to display NULL values as 'NULL' instead of '-'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165598#M37849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SET needs to come before the LOAD. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 19:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165598#M37849</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-06-20T19:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to display NULL values as 'NULL' instead of '-'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165599#M37850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You need to write the below two lines before the load statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NULLASVALUE *;&lt;/P&gt;&lt;P&gt;SET NullValue ='NULL' ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 05:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165599#M37850</guid>
      <dc:creator />
      <dc:date>2012-06-21T05:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to display NULL values as 'NULL' instead of '-'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165600#M37851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, the Nulls displayed and worked well but this doesn't work on the loads exclude I noticed.&amp;nbsp; Does anyone know how to restrict the Null's when loading from from a QVD?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;NULLASVALUE *;&lt;/P&gt;&lt;P&gt;SET NullValue ='NULL' ;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndDate&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\..\Sample.qvd]&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;WHERE&amp;nbsp; EndDate = NULL and StartDate &amp;lt;= Today();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 00:07:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165600#M37851</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-28T00:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to display NULL values as 'NULL' instead of '-'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165601#M37852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt; EndDate = NULL&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The right way to test if the value is null is function ISNULL.&lt;/P&gt;&lt;P&gt;Use&amp;nbsp; WHERE&amp;nbsp; IsNull(EndDate) and StartDate &amp;lt;= Today();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 10:00:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-NULL-values-as-NULL-instead-of/m-p/165601#M37852</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-08-28T10:00:34Z</dc:date>
    </item>
  </channel>
</rss>

