<?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 Script to rename Nulls as 'Errors' in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-to-rename-Nulls-as-Errors/m-p/263202#M1193950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have loaded a few excel sheets into qlikview, some of the columns have no data for particular customers ( after reading other posts etc I know that nulls() are mad complicated!!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wondering is there a simple way to "rename" and blank field in ths script. Basically I wish to build a table where I can search by the Nulls so I know what data fields have gaps &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the following to no avail perhaps someone can heeeellllppp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;if([REPAYMENT FREQUENCY]= '','Error',[REPAYMENT FREQUENCY]) as [REPAYMENT FREQUENCY]&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;if([REPAYMENT FREQUENCY]= null(),'Error',[REPAYMENT FREQUENCY]) as [REPAYMENT FREQUENCY]&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jun 2011 14:41:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-03T14:41:51Z</dc:date>
    <item>
      <title>Script to rename Nulls as 'Errors'</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-rename-Nulls-as-Errors/m-p/263202#M1193950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have loaded a few excel sheets into qlikview, some of the columns have no data for particular customers ( after reading other posts etc I know that nulls() are mad complicated!!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wondering is there a simple way to "rename" and blank field in ths script. Basically I wish to build a table where I can search by the Nulls so I know what data fields have gaps &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the following to no avail perhaps someone can heeeellllppp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;if([REPAYMENT FREQUENCY]= '','Error',[REPAYMENT FREQUENCY]) as [REPAYMENT FREQUENCY]&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;if([REPAYMENT FREQUENCY]= null(),'Error',[REPAYMENT FREQUENCY]) as [REPAYMENT FREQUENCY]&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 14:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-rename-Nulls-as-Errors/m-p/263202#M1193950</guid>
      <dc:creator />
      <dc:date>2011-06-03T14:41:51Z</dc:date>
    </item>
    <item>
      <title>Script to rename Nulls as 'Errors'</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-rename-Nulls-as-Errors/m-p/263203#M1193951</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 this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(ISNULL([REPAYMENT FREQUENCY]) = -1, 'Error', [REPAYMENT FREQUENCY]) AS [REPAYMENT FREQUENCY]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function ISNULL(YOUR_FIELD) return -1 when the value of this field is NULL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 14:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-rename-Nulls-as-Errors/m-p/263203#M1193951</guid>
      <dc:creator />
      <dc:date>2011-06-03T14:54:17Z</dc:date>
    </item>
    <item>
      <title>Script to rename Nulls as 'Errors'</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-rename-Nulls-as-Errors/m-p/263204#M1193952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; ecorrea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much , works perfectly on that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to put that as a rule on all the sheets , so anywhere on any field there is a null it says Error , I dont fancy having to write it out for all columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 15:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-rename-Nulls-as-Errors/m-p/263204#M1193952</guid>
      <dc:creator />
      <dc:date>2011-06-03T15:04:13Z</dc:date>
    </item>
    <item>
      <title>Script to rename Nulls as 'Errors'</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-rename-Nulls-as-Errors/m-p/263205#M1193953</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;You can define in your script this rule or set this in your objects (Properties/Presentation/Null Symbol or Missing Symbol), but in this case you need to set one by one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 15:17:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-rename-Nulls-as-Errors/m-p/263205#M1193953</guid>
      <dc:creator />
      <dc:date>2011-06-03T15:17:33Z</dc:date>
    </item>
  </channel>
</rss>

