<?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: converting null value-failure in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/converting-null-value-failure/m-p/1386016#M422006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(Isnull(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Low_USD),'A',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Low_USD)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; 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-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Null = Null evaluates to false (null does not equal null). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; 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-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If your column is numeric, you can also use Len(Low_USD) = 0. If it's text, an empty string would be a problem in that case. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Oct 2017 11:36:22 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2017-10-03T11:36:22Z</dc:date>
    <item>
      <title>converting null value-failure</title>
      <link>https://community.qlik.com/t5/QlikView/converting-null-value-failure/m-p/1386014#M422004</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;In my backend data base i have null value example below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Backend Data:&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;Low_USD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;NULL&lt;/P&gt;&lt;P&gt;55.49&lt;/P&gt;&lt;P&gt;0.00&lt;/P&gt;&lt;P&gt;100.45&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in my script i have given 3 types of try but its not working&amp;nbsp; to covert this null value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="font-size: 13.3333px;"&gt;Low_USD&lt;/SPAN&gt;=Null() or &lt;SPAN style="font-size: 13.3333px;"&gt;Low_USD&lt;/SPAN&gt;='NULL',0.00,&lt;SPAN style="font-size: 13.3333px;"&gt;Low_USD&lt;/SPAN&gt;) AS [&lt;SPAN style="font-size: 13.3333px;"&gt;Low_USD&lt;/SPAN&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as per condition it shd show 0.00 but its showing 0 only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i also tested with character also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="font-size: 13.3333px;"&gt;Low_USD&lt;/SPAN&gt;=Null() or &lt;SPAN style="font-size: 13.3333px;"&gt;Low_USD&lt;/SPAN&gt;='NULL','A',&lt;SPAN style="font-size: 13.3333px;"&gt;Low_USD&lt;/SPAN&gt;) AS [&lt;SPAN style="font-size: 13.3333px;"&gt;Low_USD&lt;/SPAN&gt;],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;again its showing as 0 only not the A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;even i tried the thrid one also &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(isnull(&lt;SPAN style="font-size: 13.3333px;"&gt;Low_USD&lt;/SPAN&gt;) or &lt;SPAN style="font-size: 13.3333px;"&gt;Low_USD&lt;/SPAN&gt;='NULL' or &lt;SPAN style="font-size: 13.3333px;"&gt;Low_USD&lt;/SPAN&gt;=' ' ,'0.00',&lt;SPAN style="font-size: 13.3333px;"&gt;Low_USD&lt;/SPAN&gt;) as [&lt;SPAN style="font-size: 13.3333px;"&gt;Low_USD&lt;/SPAN&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its not showing the value as 0.00 its showing only 0 only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these are being tested in the list box value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;le tme know how to cinvert this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 11:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/converting-null-value-failure/m-p/1386014#M422004</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2017-10-03T11:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: converting null value-failure</title>
      <link>https://community.qlik.com/t5/QlikView/converting-null-value-failure/m-p/1386015#M422005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Len(Trim(PurgeChar(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;Low_USD, Chr(160)))) = 0, '0.00', Low_USD) as Low_USD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 11:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/converting-null-value-failure/m-p/1386015#M422005</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-03T11:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: converting null value-failure</title>
      <link>https://community.qlik.com/t5/QlikView/converting-null-value-failure/m-p/1386016#M422006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(Isnull(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Low_USD),'A',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Low_USD)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; 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-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Null = Null evaluates to false (null does not equal null). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; 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-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If your column is numeric, you can also use Len(Low_USD) = 0. If it's text, an empty string would be a problem in that case. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 11:36:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/converting-null-value-failure/m-p/1386016#M422006</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2017-10-03T11:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: converting null value-failure</title>
      <link>https://community.qlik.com/t5/QlikView/converting-null-value-failure/m-p/1386017#M422007</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 using fucntion isnull()&lt;/P&gt;&lt;P&gt;it returns -1 if value is null or else zero&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so your expression would be&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; font-size: 13px;"&gt;if(isnull(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Low_USD&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;) = -1 or upper(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Low_USD)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;='NULL' or &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Low_USD&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=' ' ,'0.00',&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Low_USD&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;) as [&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Low_USD&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&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; font-size: 13px;"&gt;check the format of the column in the number of the chart you are using. &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; font-size: 13px;"&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; font-size: 13px;"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Pradosh&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 11:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/converting-null-value-failure/m-p/1386017#M422007</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-10-03T11:42:21Z</dc:date>
    </item>
  </channel>
</rss>

