<?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 Filtering and/or excluding nulls in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Filtering-and-or-excluding-nulls/m-p/17252#M1168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have read many posts here regarding the handling of nulls in Qlik Sense, and have yet to find a satisfactory solution. &lt;SPAN style="font-size: 10pt;"&gt;The problem, as I see it, is this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If we have a field that could potentially contain a null value, there may be some instances where we want to be able to filter those nulls either by selecting null values in a filter pane (which is not possible) or click on a null value in a table (also not possible). The solutions are to either (a) use one of Qlik's NullHandling functions to convert nulls to some non-null value during the load, (b) convert the nulls in the load script to a non-null value via an "if" statement, or (c) convert the nulls in a chart's expression editor to a non-null value via an "if" statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;All of these options then make the field in question filterable and searchable, but then the very handy and oft-used "Include null values" checkbox for a given dimension is rendered useless for any filed that has been converted from a null to a non-null value (option c above also has the added disadvantage of displaying a less-than-aesthetically-pleasing expression in the Selections bar, as opposed to the simple-and-clean field name).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The only option I can see is to create a second field for each and every field that we might want to serve these dual purposes: the original still-has-nulls field would be selected in charts when we want to uncheck the "Include null values" box for a dimension, and the modified copy of the original field would be selected in charts when we want nulls to be filterable/searchable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;There has to be a better way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Ideally, the better way would be for Qlik to make nulls searchable/filterable by default, but until that happens, does anyone have a clean solution for dealing with this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks in advance for any insight shared!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;--Mike&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2018 17:09:14 GMT</pubDate>
    <dc:creator>flytrapper</dc:creator>
    <dc:date>2018-05-10T17:09:14Z</dc:date>
    <item>
      <title>Filtering and/or excluding nulls</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-and-or-excluding-nulls/m-p/17252#M1168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have read many posts here regarding the handling of nulls in Qlik Sense, and have yet to find a satisfactory solution. &lt;SPAN style="font-size: 10pt;"&gt;The problem, as I see it, is this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If we have a field that could potentially contain a null value, there may be some instances where we want to be able to filter those nulls either by selecting null values in a filter pane (which is not possible) or click on a null value in a table (also not possible). The solutions are to either (a) use one of Qlik's NullHandling functions to convert nulls to some non-null value during the load, (b) convert the nulls in the load script to a non-null value via an "if" statement, or (c) convert the nulls in a chart's expression editor to a non-null value via an "if" statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;All of these options then make the field in question filterable and searchable, but then the very handy and oft-used "Include null values" checkbox for a given dimension is rendered useless for any filed that has been converted from a null to a non-null value (option c above also has the added disadvantage of displaying a less-than-aesthetically-pleasing expression in the Selections bar, as opposed to the simple-and-clean field name).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The only option I can see is to create a second field for each and every field that we might want to serve these dual purposes: the original still-has-nulls field would be selected in charts when we want to uncheck the "Include null values" box for a dimension, and the modified copy of the original field would be selected in charts when we want nulls to be filterable/searchable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;There has to be a better way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Ideally, the better way would be for Qlik to make nulls searchable/filterable by default, but until that happens, does anyone have a clean solution for dealing with this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks in advance for any insight shared!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;--Mike&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 17:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-and-or-excluding-nulls/m-p/17252#M1168</guid>
      <dc:creator>flytrapper</dc:creator>
      <dc:date>2018-05-10T17:09:14Z</dc:date>
    </item>
  </channel>
</rss>

