<?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: Adding IsNull to If Statement to Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-IsNull-to-If-Statement-to-Expression/m-p/822705#M1036264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jan 2015 22:12:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-20T22:12:03Z</dc:date>
    <item>
      <title>Adding IsNull to If Statement to Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-IsNull-to-If-Statement-to-Expression/m-p/822703#M1036262</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;I'm struggling to find the right syntax in adding a if(IsNull to an existing expression:&amp;nbsp; Here is the existing expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([Salespercent]&amp;lt;.90, 0,&lt;/P&gt;&lt;P&gt;if([Salespercent]&amp;gt;=.90 and [Salespercent] &amp;lt;=.957, 2,&lt;/P&gt;&lt;P&gt;if([Salespercent]&amp;gt;=.958, 3&lt;/P&gt;&lt;P&gt;)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to add an IsNull to the expression so if the [SalesPercentField] is Null it returns 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help?&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 21:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-IsNull-to-If-Statement-to-Expression/m-p/822703#M1036262</guid>
      <dc:creator />
      <dc:date>2015-01-20T21:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adding IsNull to If Statement to Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-IsNull-to-If-Statement-to-Expression/m-p/822704#M1036263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can just put the 0 into you final else condition, which will catch any null as they will fall out of all of your prior true statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([Salespercent]&amp;lt;.90, 0,&lt;/P&gt;&lt;P&gt;if([Salespercent]&amp;gt;=.90 and [Salespercent] &amp;lt;=.957, 2,&lt;/P&gt;&lt;P&gt;if([Salespercent]&amp;gt;=.958, 3&lt;STRONG&gt;,0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 22:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-IsNull-to-If-Statement-to-Expression/m-p/822704#M1036263</guid>
      <dc:creator />
      <dc:date>2015-01-20T22:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Adding IsNull to If Statement to Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-IsNull-to-If-Statement-to-Expression/m-p/822705#M1036264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 22:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-IsNull-to-If-Statement-to-Expression/m-p/822705#M1036264</guid>
      <dc:creator />
      <dc:date>2015-01-20T22:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding IsNull to If Statement to Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-IsNull-to-If-Statement-to-Expression/m-p/822706#M1036265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can test if the field length is zero&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If( len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; [SalesPercentField] ) &amp;gt; 0, 'Field is not null', 'Field is null')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 22:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-IsNull-to-If-Statement-to-Expression/m-p/822706#M1036265</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-01-20T22:13:26Z</dc:date>
    </item>
  </channel>
</rss>

