<?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: Handling Nulls and Blank fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Handling-Nulls-and-Blank-fields/m-p/1316718#M845794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(len(Trim(Field))=0,'Blank','NotBlank')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Mar 2017 08:07:58 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2017-03-31T08:07:58Z</dc:date>
    <item>
      <title>Handling Nulls and Blank fields</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-Nulls-and-Blank-fields/m-p/1316716#M845792</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;I am loading data form excel. My field as blanks. So when I do if(isnull(trim((Field)),'Y',"N"), I get N for blanks. I checked on the length, it is returning 4 for blanks. Further more, when I show it in table box, it shows blanks as NULL.&lt;/P&gt;&lt;P&gt;Now when I write if(Field='NULL','Y','N') I get Y for blanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to understand as to why this is happening. I know it has to do with the spaces coming form the excel but I am not able to fix it other than writing Field='NULL'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-Nulls-and-Blank-fields/m-p/1316716#M845792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Handling Nulls and Blank fields</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-Nulls-and-Blank-fields/m-p/1316717#M845793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your excel sheet, or a sample of it?&lt;/P&gt;&lt;P&gt;Sounds like there might be some unprintables in there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try len(keep(field,'abcdefghijklmnopqrstuvqxyz012345679')) and see what that gives you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 07:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-Nulls-and-Blank-fields/m-p/1316717#M845793</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-31T07:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Handling Nulls and Blank fields</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-Nulls-and-Blank-fields/m-p/1316718#M845794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(len(Trim(Field))=0,'Blank','NotBlank')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 08:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-Nulls-and-Blank-fields/m-p/1316718#M845794</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-03-31T08:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Handling Nulls and Blank fields</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-Nulls-and-Blank-fields/m-p/1316719#M845795</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;If you do not want any blank records Set Verbatim=1 in script&lt;/P&gt;&lt;P&gt;But if you want as No &amp;amp; Yes than if(len(Trim(Field))=0.'Y','N')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Paridhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 08:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-Nulls-and-Blank-fields/m-p/1316719#M845795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-31T08:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Handling Nulls and Blank fields</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-Nulls-and-Blank-fields/m-p/1316720#M845796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when I use len(keepchar(field,'abcdefghijklmnopqrstuvqxyz012345679')) it returns 0 for Nulls or blanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 09:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-Nulls-and-Blank-fields/m-p/1316720#M845796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-31T09:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Handling Nulls and Blank fields</title>
      <link>https://community.qlik.com/t5/QlikView/Handling-Nulls-and-Blank-fields/m-p/1316721#M845797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I will have write if (len(keepchar(field,'abcdefghijklmnopqrstuvqxyz012345679'))=0,'NA', field).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 09:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handling-Nulls-and-Blank-fields/m-p/1316721#M845797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-31T09:03:34Z</dc:date>
    </item>
  </channel>
</rss>

