<?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: IF NULL THEN... syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-NULL-THEN-syntax/m-p/1600008#M737756</link>
    <description>Hi Anonymous 1&lt;BR /&gt;What output are you getting? You should be able to do this in a list box.&lt;BR /&gt;Alternatively, you can try putting this expression in the script and aliasing it&lt;BR /&gt;e.g.&lt;BR /&gt;if(isnull([Field]),'Does not exist', 'Exists') as Existence&lt;BR /&gt;&lt;BR /&gt;then create a list box using the field 'existence'&lt;BR /&gt;simply taking&lt;BR /&gt;=if(isnull([Date]),'Does not exist', 'exists')&lt;BR /&gt;seems to work for me. What output do you get? just a blank list box? please also check that the field name is correct and the field is populated</description>
    <pubDate>Mon, 08 Jul 2019 15:44:57 GMT</pubDate>
    <dc:creator>acsaggar</dc:creator>
    <dc:date>2019-07-08T15:44:57Z</dc:date>
    <item>
      <title>IF NULL THEN... syntax</title>
      <link>https://community.qlik.com/t5/QlikView/IF-NULL-THEN-syntax/m-p/1599998#M737753</link>
      <description>&lt;P&gt;hi guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;im wondering if you can help me, i believe i may have my syntax wrong for this 'if...null' expression.&lt;/P&gt;&lt;P&gt;im creating a list box, i want it to have 2 options: Exists or Does Not Exist:&lt;/P&gt;&lt;P&gt;=IF (IsNull([DATE], 'Does Not Exist', 'Exists')&lt;/P&gt;&lt;P&gt;basically, in the data, if the date is null then the inventory doesn't exist, otherwise it does exist. this statement does not work.&amp;nbsp; anyone have any ideas?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-NULL-THEN-syntax/m-p/1599998#M737753</guid>
      <dc:creator>anonymous1</dc:creator>
      <dc:date>2024-11-16T03:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: IF NULL THEN... syntax</title>
      <link>https://community.qlik.com/t5/QlikView/IF-NULL-THEN-syntax/m-p/1600004#M737754</link>
      <description>&lt;P&gt;I think you forgot to include bracket after Date&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=IF (IsNull([DATE]&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;, 'Does Not Exist', 'Exists')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if above doesn't work then use below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=IF (Len([DATE])&amp;gt;0, 'Exists'&lt;/SPAN&gt;&lt;SPAN&gt;, 'Does Not Exist')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 15:38:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-NULL-THEN-syntax/m-p/1600004#M737754</guid>
      <dc:creator>bharathadde</dc:creator>
      <dc:date>2019-07-08T15:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: IF NULL THEN... syntax</title>
      <link>https://community.qlik.com/t5/QlikView/IF-NULL-THEN-syntax/m-p/1600005#M737755</link>
      <description>&lt;P&gt;Can you please give a try on the below expression and see if it works:&lt;/P&gt;&lt;P&gt;=IF (Len([DATE])&amp;gt;0, 'Exists' , 'Does Not Exist')&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 15:39:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-NULL-THEN-syntax/m-p/1600005#M737755</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2019-07-08T15:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: IF NULL THEN... syntax</title>
      <link>https://community.qlik.com/t5/QlikView/IF-NULL-THEN-syntax/m-p/1600008#M737756</link>
      <description>Hi Anonymous 1&lt;BR /&gt;What output are you getting? You should be able to do this in a list box.&lt;BR /&gt;Alternatively, you can try putting this expression in the script and aliasing it&lt;BR /&gt;e.g.&lt;BR /&gt;if(isnull([Field]),'Does not exist', 'Exists') as Existence&lt;BR /&gt;&lt;BR /&gt;then create a list box using the field 'existence'&lt;BR /&gt;simply taking&lt;BR /&gt;=if(isnull([Date]),'Does not exist', 'exists')&lt;BR /&gt;seems to work for me. What output do you get? just a blank list box? please also check that the field name is correct and the field is populated</description>
      <pubDate>Mon, 08 Jul 2019 15:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-NULL-THEN-syntax/m-p/1600008#M737756</guid>
      <dc:creator>acsaggar</dc:creator>
      <dc:date>2019-07-08T15:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: IF NULL THEN... syntax</title>
      <link>https://community.qlik.com/t5/QlikView/IF-NULL-THEN-syntax/m-p/1600252#M737757</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;thanks to everyone for the responses, this seems to have worked.&amp;nbsp; however, the 'Does Not Exists' option (i.e. all the NULLs)&amp;nbsp;remains grey and never lets me select this.&amp;nbsp; any idea why that would be?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 07:48:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-NULL-THEN-syntax/m-p/1600252#M737757</guid>
      <dc:creator>anonymous1</dc:creator>
      <dc:date>2019-07-09T07:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: IF NULL THEN... syntaxhi,</title>
      <link>https://community.qlik.com/t5/QlikView/IF-NULL-THEN-syntax/m-p/1600271#M737758</link>
      <description>&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;the 'Does not exists' option now remains permanently grey, and wont let me select it.&amp;nbsp; any ideas why that would be?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 08:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-NULL-THEN-syntax/m-p/1600271#M737758</guid>
      <dc:creator>anonymous1</dc:creator>
      <dc:date>2019-07-09T08:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: IF NULL THEN... syntaxhi,</title>
      <link>https://community.qlik.com/t5/QlikView/IF-NULL-THEN-syntax/m-p/1600344#M737759</link>
      <description>&lt;P&gt;That is because your date is null/space and you cannot filter on null/space in qlikview.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 11:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-NULL-THEN-syntax/m-p/1600344#M737759</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2019-07-09T11:25:23Z</dc:date>
    </item>
  </channel>
</rss>

