<?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 considering null values in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/considering-null-values-in-script/m-p/1926676#M1218808</link>
    <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a field called&amp;nbsp; Category which has&amp;nbsp; many&amp;nbsp; null values&amp;nbsp; &amp;nbsp;as shown in the&amp;nbsp; screenshot&amp;nbsp; below .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to&amp;nbsp; consider null values in the script like this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If(Isnull( Category),'NULL',Category) as CAT, but this is not renaming the null values , it remains the same&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Can you please help me in handling this ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in Advance&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 May 2022 09:37:10 GMT</pubDate>
    <dc:creator>smilingjohn</dc:creator>
    <dc:date>2022-05-05T09:37:10Z</dc:date>
    <item>
      <title>considering null values in script</title>
      <link>https://community.qlik.com/t5/QlikView/considering-null-values-in-script/m-p/1926676#M1218808</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a field called&amp;nbsp; Category which has&amp;nbsp; many&amp;nbsp; null values&amp;nbsp; &amp;nbsp;as shown in the&amp;nbsp; screenshot&amp;nbsp; below .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to&amp;nbsp; consider null values in the script like this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If(Isnull( Category),'NULL',Category) as CAT, but this is not renaming the null values , it remains the same&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Can you please help me in handling this ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in Advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 09:37:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/considering-null-values-in-script/m-p/1926676#M1218808</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2022-05-05T09:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: considering null values in script</title>
      <link>https://community.qlik.com/t5/QlikView/considering-null-values-in-script/m-p/1926700#M1218810</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Looks like null and (null) are not nulls it’s a text, so probably your expression should be&lt;/P&gt;
&lt;P&gt;IF(Wildmatch(Category, '*null*') or IsNull(Category), 'NULL', Category) AS Category&lt;/P&gt;
&lt;P&gt;Also if you have empty rows you can add third condition&lt;/P&gt;
&lt;P&gt;IF(Wildmatch(Category, '*null*') or IsNull(Category) or trim(len(Category))=0, 'NULL', Category) AS Category&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vitalii&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 08:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/considering-null-values-in-script/m-p/1926700#M1218810</guid>
      <dc:creator>vchuprina</dc:creator>
      <dc:date>2022-05-05T08:31:20Z</dc:date>
    </item>
  </channel>
</rss>

