<?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: Need to replace blanks with null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-to-replace-blanks-with-null/m-p/1587770#M738586</link>
    <description>What is your data source? Is it a text file, excel or inline source? If so then you could use nullinterpret.&lt;BR /&gt;E.g. :&lt;BR /&gt;set NullInterpret ='';&lt;BR /&gt;&lt;BR /&gt;Read more: &lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/ValueHandlingVariables/NullInterpret.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/ValueHandlingVariables/NullInterpret.htm&lt;/A&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 03 Jun 2019 19:00:02 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2019-06-03T19:00:02Z</dc:date>
    <item>
      <title>Need to replace blanks with null</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-replace-blanks-with-null/m-p/1587631#M738583</link>
      <description>&lt;P&gt;Hello! i saw some post about replacing nulls or blanks.&lt;/P&gt;&lt;P&gt;the closest post was this one&amp;nbsp;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/Replacing-Blank-values-with-static-value/m-p/1559134#M372055" target="_blank"&gt;https://community.qlik.com/t5/New-to-QlikView/Replacing-Blank-values-with-static-value/m-p/1559134#M372055&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I know if i use the "len(trim(field))&amp;gt;0" i can get rid of blanks but i have a lot of tables and a lot of fields so i need another way.&lt;/P&gt;&lt;P&gt;Thx for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-replace-blanks-with-null/m-p/1587631#M738583</guid>
      <dc:creator>lbalestieri</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replace blanks with null</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-replace-blanks-with-null/m-p/1587644#M738584</link>
      <description>&lt;P&gt;If there are many, I suggest you to work with "ApplyMap" concepts in Qlik.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 13:12:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-replace-blanks-with-null/m-p/1587644#M738584</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-06-03T13:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replace blanks with null</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-replace-blanks-with-null/m-p/1587750#M738585</link>
      <description>&lt;P&gt;In the main() i use this sentence to replace nulls with Empty&lt;/P&gt;&lt;P&gt;Set NullValue = '&amp;lt; Empty &amp;gt;';&lt;BR /&gt;NullAsValue *;&lt;/P&gt;&lt;P&gt;What mapping do you suggest on this example&amp;nbsp; below? i mean, if you can (or someone) write the explicit code.&lt;/P&gt;&lt;P&gt;I can select the blank fields but i dont find a way to replace them for a null value or '&amp;lt; Empty &amp;gt;'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 17:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-replace-blanks-with-null/m-p/1587750#M738585</guid>
      <dc:creator>lbalestieri</dc:creator>
      <dc:date>2019-06-03T17:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replace blanks with null</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-replace-blanks-with-null/m-p/1587770#M738586</link>
      <description>What is your data source? Is it a text file, excel or inline source? If so then you could use nullinterpret.&lt;BR /&gt;E.g. :&lt;BR /&gt;set NullInterpret ='';&lt;BR /&gt;&lt;BR /&gt;Read more: &lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/ValueHandlingVariables/NullInterpret.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/ValueHandlingVariables/NullInterpret.htm&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2019 19:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-replace-blanks-with-null/m-p/1587770#M738586</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-06-03T19:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need to replace blanks with null</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-replace-blanks-with-null/m-p/1587771#M738587</link>
      <description>if you can't use nullintepret then a mapping table could be a good alternative solution, mentioned by &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt; .&lt;BR /&gt;If you have a lot of fields that needs mapping I would recommend you not to use the applymap() but instead use&lt;BR /&gt;map *fieldlist using MapName&lt;BR /&gt;&lt;BR /&gt;It will allow you to use the map table more efficiently on many fields without writing the applymap(...) for every single field.&lt;BR /&gt;&lt;BR /&gt;Read more here: &lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Map.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Map.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2019 19:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-replace-blanks-with-null/m-p/1587771#M738587</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-06-03T19:06:43Z</dc:date>
    </item>
  </channel>
</rss>

