<?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 how to use null in the set expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-use-null-in-the-set-expression/m-p/497475#M481152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the requirement, i have to use the null in the set expression. Can anyone please let me know how to use the NULL in the Set expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have used the expression like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asset={'Active Directory','Iphone','Microsoft Exchange','VeriSign Certificate','VPN','NULL'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know the correct usage of null in the set expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Smitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Oct 2013 10:40:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-21T10:40:23Z</dc:date>
    <item>
      <title>how to use null in the set expression</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-null-in-the-set-expression/m-p/497475#M481152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the requirement, i have to use the null in the set expression. Can anyone please let me know how to use the NULL in the Set expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have used the expression like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asset={'Active Directory','Iphone','Microsoft Exchange','VeriSign Certificate','VPN','NULL'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know the correct usage of null in the set expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Smitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 10:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-null-in-the-set-expression/m-p/497475#M481152</guid>
      <dc:creator />
      <dc:date>2013-10-21T10:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to use null in the set expression</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-null-in-the-set-expression/m-p/497476#M481153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to catch null values just passing single quotes with no spaces as a Modifier value:&lt;/P&gt;&lt;P&gt;Asset={'Active Directory','Iphone','Microsoft Exchange','VeriSign Certificate','VPN',''}&lt;/P&gt;&lt;P&gt;This is in case null values have not been treated in Script layer in order to place a NULL text instead or something..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 10:50:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-null-in-the-set-expression/m-p/497476#M481153</guid>
      <dc:creator />
      <dc:date>2013-10-21T10:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to use null in the set expression</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-null-in-the-set-expression/m-p/497477#M481154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asset={"=$(='Active Directory' or 'Iphone' or 'Microsoft Exchange' or 'VeriSign Certificate' or 'VPN' or IsNull(Asset))"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Asset={'Active Directory','Iphone','Microsoft Exchange','VeriSign Certificate','VPN'}&amp;gt; + &amp;lt;Asset={"=$(=IsNull(Asset))"}&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope somebody can suggest a simpler one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 10:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-null-in-the-set-expression/m-p/497477#M481154</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-10-21T10:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to use null in the set expression</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-null-in-the-set-expression/m-p/497478#M481155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Smitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Script just add a flag for null like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Alt(Asset, 'N/A') AS TempAsset&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use this field in set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;Asset=, TempAsset={'Active Directory','Iphone','Microsoft Exchange','VeriSign Certificate','VPN','NULL'}&amp;gt;} ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Asset={'Active Directory','Iphone','Microsoft Exchange','VeriSign Certificate','VPN'}&amp;gt; + &amp;lt;Asset={"=$(=IsNull(Asset))"}&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 10:56:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-null-in-the-set-expression/m-p/497478#M481155</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-10-21T10:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to use null in the set expression</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-null-in-the-set-expression/m-p/497479#M481156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This should work:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;lt;Asset={'Active Directory','Iphone','Microsoft Exchange','VeriSign Certificate','VPN'}&amp;gt; + &amp;lt;Asset-={'*'}&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;But it's far easier to replace the nulls in the script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;field1, field2, ...etc,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(len(trim(Asset))=0,'n/a', Asset) as Asset&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;From &lt;EM&gt;...mysource...&lt;/EM&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Then use that n/a value in the set modifier:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;lt;Asset={'Active Directory','Iphone','Microsoft Exchange','VeriSign Certificate','VPN','n/a'}&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 11:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-null-in-the-set-expression/m-p/497479#M481156</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-21T11:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to use null in the set expression</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-null-in-the-set-expression/m-p/497480#M481157</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;lt;Asset={'Active Directory','Iphone','Microsoft Exchange','VeriSign Certificate','VPN'}&amp;gt; + &amp;lt;Asset-={'*'}&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 11:23:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-null-in-the-set-expression/m-p/497480#M481157</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-10-21T11:23:17Z</dc:date>
    </item>
  </channel>
</rss>

