<?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 avoid adding null values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-avoid-adding-null-values/m-p/987097#M979354</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you loading the DB with ODBC?&lt;/P&gt;&lt;P&gt;This part from the QlikView help may assist you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;A name="kanchor190"&gt;&lt;/A&gt;Associating/Selecting NULL Values from ODBC&lt;/H1&gt;&lt;P&gt;It is possible to associate and/or select NULL values from an &lt;A class="MCXref_0"&gt;&lt;EM&gt;ODBC&lt;/EM&gt;&lt;/A&gt; data source. For this purpose a script variable has been defined. By using the syntax:&lt;/P&gt;&lt;H4 class="syntax"&gt;&lt;A name="kanchor191"&gt;&lt;/A&gt;SET NULLDISPLAY=&amp;lt;sym&amp;gt;;&lt;/H4&gt;&lt;P&gt;The symbol &amp;lt;sym&amp;gt; will substitute all NULL values from the ODBC data source on the lowest level of data input. &amp;lt;sym&amp;gt; may be any string. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to reset this functionality to the default interpretation, use:&lt;/P&gt;&lt;H4 class="syntax"&gt;SET NULLDISPLAY=;&lt;/H4&gt;&lt;P class="note"&gt;&lt;SPAN class="Bold"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;The use of &lt;SPAN class="Bold"&gt;NULLDISPLAY&lt;/SPAN&gt; only affects data from an ODBC data source!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wish to have the QlikView logic interpret NULL values returned from an ODBC connection as an empty string, add the following to your script before any SELECT statement:&lt;/P&gt;&lt;H4 class="syntax"&gt;SET NULLDISPLAY=";&lt;/H4&gt;&lt;P class="note"&gt;&lt;SPAN class="Bold"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;Here '' is actually &lt;SPAN style="text-decoration: underline;"&gt;two single quotation marks&lt;/SPAN&gt; without anything in between. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2015 07:39:16 GMT</pubDate>
    <dc:creator>Ralf-Narfeldt</dc:creator>
    <dc:date>2015-08-25T07:39:16Z</dc:date>
    <item>
      <title>How to avoid adding null values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-adding-null-values/m-p/987096#M979353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if it's possible to avoid adding null values '-' in the tables? I'am having problems displaying values on text object lately because the total sum on my table is not equal on the text object and I think it's because of the null values on the DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope you help me on my problem, thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 06:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-adding-null-values/m-p/987096#M979353</guid>
      <dc:creator />
      <dc:date>2015-08-25T06:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid adding null values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-adding-null-values/m-p/987097#M979354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you loading the DB with ODBC?&lt;/P&gt;&lt;P&gt;This part from the QlikView help may assist you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;A name="kanchor190"&gt;&lt;/A&gt;Associating/Selecting NULL Values from ODBC&lt;/H1&gt;&lt;P&gt;It is possible to associate and/or select NULL values from an &lt;A class="MCXref_0"&gt;&lt;EM&gt;ODBC&lt;/EM&gt;&lt;/A&gt; data source. For this purpose a script variable has been defined. By using the syntax:&lt;/P&gt;&lt;H4 class="syntax"&gt;&lt;A name="kanchor191"&gt;&lt;/A&gt;SET NULLDISPLAY=&amp;lt;sym&amp;gt;;&lt;/H4&gt;&lt;P&gt;The symbol &amp;lt;sym&amp;gt; will substitute all NULL values from the ODBC data source on the lowest level of data input. &amp;lt;sym&amp;gt; may be any string. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to reset this functionality to the default interpretation, use:&lt;/P&gt;&lt;H4 class="syntax"&gt;SET NULLDISPLAY=;&lt;/H4&gt;&lt;P class="note"&gt;&lt;SPAN class="Bold"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;The use of &lt;SPAN class="Bold"&gt;NULLDISPLAY&lt;/SPAN&gt; only affects data from an ODBC data source!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wish to have the QlikView logic interpret NULL values returned from an ODBC connection as an empty string, add the following to your script before any SELECT statement:&lt;/P&gt;&lt;H4 class="syntax"&gt;SET NULLDISPLAY=";&lt;/H4&gt;&lt;P class="note"&gt;&lt;SPAN class="Bold"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;Here '' is actually &lt;SPAN style="text-decoration: underline;"&gt;two single quotation marks&lt;/SPAN&gt; without anything in between. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 07:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-adding-null-values/m-p/987097#M979354</guid>
      <dc:creator>Ralf-Narfeldt</dc:creator>
      <dc:date>2015-08-25T07:39:16Z</dc:date>
    </item>
  </channel>
</rss>

