<?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 Displaying rows with null date values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Displaying-rows-with-null-date-values/m-p/203245#M60659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;At least as far as I know, you can't bookmark, or select, null-values because... well, they are null! There isn't anything to select.&lt;BR /&gt;One way of solving this is to assign a value in the load-script for the null values:&lt;BR /&gt;if(isnull([date_test]), 'Missing', [date_test]) as [date_test]&lt;/P&gt;&lt;P&gt;That way you can easily select the 'Missing' value.&lt;/P&gt;&lt;P&gt;/Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jan 2010 20:38:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-06T20:38:59Z</dc:date>
    <item>
      <title>Displaying rows with null date values</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-rows-with-null-date-values/m-p/203244#M60658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to make a bookmark using advanced search in order to display rows in a table with null date values.&lt;/P&gt;&lt;P&gt;When I set this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;= [date_test] &amp;lt;&amp;gt; ''&lt;/PRE&gt;(the same with null()) or &lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;=IsNull([date_test]) = 0&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;it works (displaying only rows without null values in this field, but when I try the opposite :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;=[date_test] = ''&lt;/PRE&gt;(the same with null())or &lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;=IsNull([date_test]) = 1&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;it doesn't work. The filter doesn't give me good results. It should display rows with null values in this table.&lt;/P&gt;&lt;P&gt;Why ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 19:15:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-rows-with-null-date-values/m-p/203244#M60658</guid>
      <dc:creator />
      <dc:date>2010-01-06T19:15:18Z</dc:date>
    </item>
    <item>
      <title>Displaying rows with null date values</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-rows-with-null-date-values/m-p/203245#M60659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;At least as far as I know, you can't bookmark, or select, null-values because... well, they are null! There isn't anything to select.&lt;BR /&gt;One way of solving this is to assign a value in the load-script for the null values:&lt;BR /&gt;if(isnull([date_test]), 'Missing', [date_test]) as [date_test]&lt;/P&gt;&lt;P&gt;That way you can easily select the 'Missing' value.&lt;/P&gt;&lt;P&gt;/Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 20:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-rows-with-null-date-values/m-p/203245#M60659</guid>
      <dc:creator />
      <dc:date>2010-01-06T20:38:59Z</dc:date>
    </item>
    <item>
      <title>Displaying rows with null date values</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-rows-with-null-date-values/m-p/203246#M60660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also worth pointing out are a couple things with your isnull() test. First, this will return 0 or -1, not 0 or 1. So you would need to test for -1 or &amp;lt;&amp;gt;0. Second, isnull() doesn't really behave in 64-bit implementations, so the preferred approach is len(...). If what you are testing is null, the len will be 0, which is false. If non-null, the len will be &amp;gt; 0, which is considered true, since all non-zero values are true. Or if you want to be a little more explicit and not rely on the internal implementation of true and false, use len(...)=0 and len(...)&amp;gt;0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 21:02:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-rows-with-null-date-values/m-p/203246#M60660</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-01-06T21:02:38Z</dc:date>
    </item>
    <item>
      <title>Displaying rows with null date values</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-rows-with-null-date-values/m-p/203247#M60661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;fredrik.martzen wrote:&lt;BR /&gt;Hi&lt;BR /&gt;At least as far as I know, you can't bookmark, or select, null-values because... well, they are null! There isn't anything to select.&lt;BR /&gt;One way of solving this is to assign a value in the load-script for the null values:&lt;BR /&gt;if(isnull([date_test]), 'Missing', [date_test]) as [date_test]&lt;BR /&gt;That way you can easily select the 'Missing' value.&lt;BR /&gt;/Fredrik&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;The row is not fully empty, there is just one field with no value inside, and I don't want to just display one field, but the entire row. In SQL or in SAS you can select a row with some field empty and there's just no problem. Weird thing I think.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 23:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-rows-with-null-date-values/m-p/203247#M60661</guid>
      <dc:creator />
      <dc:date>2010-01-06T23:13:34Z</dc:date>
    </item>
    <item>
      <title>Displaying rows with null date values</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-rows-with-null-date-values/m-p/203248#M60662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;John Witherspoon wrote:&lt;BR /&gt;Also worth pointing out are a couple things with your isnull() test. First, this will return 0 or -1, not 0 or 1. So you would need to test for -1 or &amp;lt;&amp;gt;0. Second, isnull() doesn't really behave in 64-bit implementations, so the preferred approach is len(...). If what you are testing is null, the len will be 0, which is false. If non-null, the len will be &amp;gt; 0, which is considered true, since all non-zero values are true. Or if you want to be a little more explicit and not rely on the internal implementation of true and false, use len(...)=0 and len(...)&amp;gt;0. &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for "1" instead of "-1", I typed the message from home and not from work, but in my project, I tested it correctly and it didn't work.&lt;/P&gt;&lt;P&gt;Will try your solution tomorrow, thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 23:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-rows-with-null-date-values/m-p/203248#M60662</guid>
      <dc:creator />
      <dc:date>2010-01-06T23:15:27Z</dc:date>
    </item>
    <item>
      <title>Displaying rows with null date values</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-rows-with-null-date-values/m-p/203249#M60663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried with the "len()" solution, and it still doesn't work. len() &amp;gt; 0 works, but not the len() = 0. It must have a solution or a setting to set, no ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 09:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-rows-with-null-date-values/m-p/203249#M60663</guid>
      <dc:creator />
      <dc:date>2010-01-07T09:33:57Z</dc:date>
    </item>
  </channel>
</rss>

