<?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: Replacing Blank field with 'NA' in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replacing-Blank-field-with-NA/m-p/789503#M1019094</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, you can check for the Null or empty values while loading the data in the Load script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2015 12:06:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-25T12:06:34Z</dc:date>
    <item>
      <title>Replacing Blank field with 'NA'</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-Blank-field-with-NA/m-p/789501#M1019090</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;Simple question i bet but i am drawing a blank today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some data which has a number of blank fields (not null) and i want to replace the blank with a 'NA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following formula in my script but it doesn't seem to be working as the blanks are still appearing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;if(IsNull(ClaimOwner),'NA',ClaimOwner) as ClaimOwner2.1,&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Any help would be great&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 12:02:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-Blank-field-with-NA/m-p/789501#M1019090</guid>
      <dc:creator />
      <dc:date>2015-03-25T12:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Blank field with 'NA'</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-Blank-field-with-NA/m-p/789502#M1019092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are checking only for the NULL. Probably you should be checking for the empty string as well&amp;nbsp; like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(IsNull(ClaimOwner) or ClaimOwner='','NA',ClaimOwner) as ClaimOwner2.1,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 12:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-Blank-field-with-NA/m-p/789502#M1019092</guid>
      <dc:creator />
      <dc:date>2015-03-25T12:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Blank field with 'NA'</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-Blank-field-with-NA/m-p/789503#M1019094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, you can check for the Null or empty values while loading the data in the Load script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 12:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-Blank-field-with-NA/m-p/789503#M1019094</guid>
      <dc:creator />
      <dc:date>2015-03-25T12:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Blank field with 'NA'</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-Blank-field-with-NA/m-p/789504#M1019096</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: 13px;"&gt;ClaimOwner) or Len(Trim(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ClaimOwner)) = 0, 'N/A', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ClaimOwner) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ClaimOwner&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 12:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-Blank-field-with-NA/m-p/789504#M1019096</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-03-25T12:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Blank field with 'NA'</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-Blank-field-with-NA/m-p/789505#M1019097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Len(Trim(ClaimOwner)) = 0, 'NA', ClaimOwner) as ClaimOwner2.1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 12:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-Blank-field-with-NA/m-p/789505#M1019097</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-25T12:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Blank field with 'NA'</title>
      <link>https://community.qlik.com/t5/QlikView/Replacing-Blank-field-with-NA/m-p/789506#M1019098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;isnull() is for null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;len(trim()) is for blank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 12:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replacing-Blank-field-with-NA/m-p/789506#M1019098</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-03-25T12:09:43Z</dc:date>
    </item>
  </channel>
</rss>

