<?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: How to replace a null value ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-replace-a-null-value/m-p/788701#M668369</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(IsNull(fieldA) or Len(Trim(Replace(fieldA,'-','')))=0, 'Unknown',fieldA) as fieldA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Nov 2014 10:37:33 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-11-07T10:37:33Z</dc:date>
    <item>
      <title>How to replace a null value ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-a-null-value/m-p/788698#M668363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I load a table, there are some null values in a field. I use this field to perform a join. I would like to replace the null values by a string "Unknown" because otherwise I get some trouble with my join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( isnull(fieldA), 'Unknown', fieldA ) as FIELD_A,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it doesn't do what I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 10:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-a-null-value/m-p/788698#M668363</guid>
      <dc:creator />
      <dc:date>2014-11-07T10:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace a null value ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-a-null-value/m-p/788699#M668365</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;if&amp;nbsp; ( not&amp;nbsp; len(fieldA) &amp;gt; 0, 'Unknown', fieldA ) as FIELD_A,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 10:34:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-a-null-value/m-p/788699#M668365</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-07T10:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace a null value ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-a-null-value/m-p/788700#M668367</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;if(len(fieldA)=0, 'Unknown', fieldA) as Field_A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 10:36:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-a-null-value/m-p/788700#M668367</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-11-07T10:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace a null value ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-a-null-value/m-p/788701#M668369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(IsNull(fieldA) or Len(Trim(Replace(fieldA,'-','')))=0, 'Unknown',fieldA) as fieldA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 10:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-a-null-value/m-p/788701#M668369</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-07T10:37:33Z</dc:date>
    </item>
  </channel>
</rss>

