<?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 Create a Button which can include Null value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-Button-which-can-include-Null-value/m-p/1132302#M521067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did some search online but cannot come to a way to include Null Value in the selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing I need to do: I am going to create a button which make a variable &lt;STRONG&gt;&lt;EM&gt;A&lt;/EM&gt;&lt;/STRONG&gt; exclude a particular value a1. However &lt;EM&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/EM&gt; has some NULL value in the record, I need to keep these records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone help me out on this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jul 2016 17:40:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-07-11T17:40:48Z</dc:date>
    <item>
      <title>Create a Button which can include Null value</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Button-which-can-include-Null-value/m-p/1132302#M521067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did some search online but cannot come to a way to include Null Value in the selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing I need to do: I am going to create a button which make a variable &lt;STRONG&gt;&lt;EM&gt;A&lt;/EM&gt;&lt;/STRONG&gt; exclude a particular value a1. However &lt;EM&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/EM&gt; has some NULL value in the record, I need to keep these records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone help me out on this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 17:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Button-which-can-include-Null-value/m-p/1132302#M521067</guid>
      <dc:creator />
      <dc:date>2016-07-11T17:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Button which can include Null value</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Button-which-can-include-Null-value/m-p/1132303#M521068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4424"&gt;Excluding values in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would need to identify a key field (or create a new field in the script), then the set expression might look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({1&amp;lt;KeyField = e({$&amp;lt;A = {a1}&amp;gt;}) &amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to create a button Selection - Select in field action, then use the KeyField as field to select in and something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='=&lt;SPAN style="font-size: 13.3333px;"&gt;Sum({1&amp;lt;KeyField = e({$&amp;lt;A = {a1}&amp;gt;}) &amp;gt;} 1)'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as search string&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 20:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Button-which-can-include-Null-value/m-p/1132303#M521068</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-07-11T20:48:59Z</dc:date>
    </item>
  </channel>
</rss>

