<?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: NullInterpret for Excel sources in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514109#M436806</link>
    <description>&lt;P&gt;Maybe you could use an approach like this one: &lt;A href="http://qlikviewcookbook.com/2013/01/filling-default-values-using-mapping/" target="_blank"&gt;filling-default-values-using-mapping&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Thu, 29 Nov 2018 10:01:01 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2018-11-29T10:01:01Z</dc:date>
    <item>
      <title>NullInterpret for Excel sources</title>
      <link>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514081#M436800</link>
      <description>&lt;P&gt;&amp;nbsp;I need help defining all 'NULL' values in Excel as NULL() in QlikView/Qlik Sense. I would prefer not to write an&amp;nbsp;&amp;nbsp;&lt;EM&gt;&lt;FONT face="courier new,courier"&gt;IF(Field = 'NULL', NULL(), Field)&amp;nbsp; as Field&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&lt;/EM&gt;for all fields in my excels.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to load data from a bunch of excel tables where Null-values are recorded with the cell value 'NULL'. I'm handling this by defining the &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;EM&gt;NullInterpret&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;as described in the the Qlik help section&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/Scripting/create-null-values-from-text-files.htm" target="_blank"&gt;Creating NULL values from text files&lt;/A&gt;.&lt;/P&gt;&lt;PRE&gt;set NullInterpret='NULL';&lt;/PRE&gt;&lt;P&gt;This solution&amp;nbsp; works fine if my source is an INLINE but does not work&amp;nbsp; for Excel sources, please take a look at the picture below and the attached files.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot from my example qvw" style="width: 537px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1270i249F33297B282CAD/image-size/large?v=v2&amp;amp;px=999" role="button" title="NULLINTERPRET.PNG" alt="Screenshot from my example qvw" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot from my example qvw&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;This question is valid for both QlikView and Qlik Sense.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:48:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514081#M436800</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2024-11-16T21:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: NullInterpret for Excel sources</title>
      <link>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514105#M436805</link>
      <description>&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NullAsValue *;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Set NullValue = 'NULL';&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 09:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514105#M436805</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-11-29T09:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: NullInterpret for Excel sources</title>
      <link>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514109#M436806</link>
      <description>&lt;P&gt;Maybe you could use an approach like this one: &lt;A href="http://qlikviewcookbook.com/2013/01/filling-default-values-using-mapping/" target="_blank"&gt;filling-default-values-using-mapping&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 10:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514109#M436806</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-11-29T10:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: NullInterpret for Excel sources</title>
      <link>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514118#M436808</link>
      <description>This could work on text files (as the topic header says). If you convert the excel to csv it would work.</description>
      <pubDate>Thu, 29 Nov 2018 10:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514118#M436808</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-11-29T10:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: NullInterpret for Excel sources</title>
      <link>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514201#M436816</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Thanks, but your suggestion are not the solution to my problem, I do not want Null as Value I want 'NULL' to become NULL().&lt;/P&gt;&lt;P&gt;The &lt;EM&gt;Filling default values using mapping&lt;/EM&gt;&amp;nbsp; was a great tip for use in the future, I was not aware that I could use&amp;nbsp;successfully null() in an applymap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;: You are correct. Converting the data to csv would give me my desired result, so if I don't find a better solution then I could do the following.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Read the excel&lt;/LI&gt;&lt;LI&gt;Store all tables to csv&lt;/LI&gt;&lt;LI&gt;Read the csv files while &lt;FONT face="courier new,courier"&gt;NullInterpret = 'NULL';&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 29 Nov 2018 12:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514201#M436816</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2018-11-29T12:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: NullInterpret for Excel sources</title>
      <link>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514257#M436819</link>
      <description>&lt;P&gt;I think the reversed way to replace 'NULL' with null() should work, too - at least with this small example it does and I assume it would also work by an Excel as source:&lt;/P&gt;&lt;P&gt;NullMap: mapping load 'NULL', null() autogenerate 1;&lt;BR /&gt;map F2 using 'NullMap';&lt;BR /&gt;&lt;BR /&gt;t0: load * inline [&lt;BR /&gt;F1, F2&lt;BR /&gt;a, 1&lt;BR /&gt;b, NULL&lt;BR /&gt;c, 2&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 13:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514257#M436819</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-11-29T13:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: NullInterpret for Excel sources</title>
      <link>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514365#M436825</link>
      <description>I guess you're right &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt; . That could work and I could apply it on all fields using the map...using command like this.&lt;BR /&gt;&lt;BR /&gt;Map * using NullMapTable;&lt;BR /&gt;&lt;BR /&gt;I'll give it an attempt tomorrow.</description>
      <pubDate>Thu, 29 Nov 2018 15:52:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514365#M436825</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2018-11-29T15:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: NullInterpret for Excel sources</title>
      <link>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514531#M436851</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-right" image-alt="NULLINTERPRET_MAP.PNG" style="width: 583px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1313i2F7FD48C8FA202D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="NULLINTERPRET_MAP.PNG" alt="NULLINTERPRET_MAP.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;: Your solution worked. By applying a NULL to Null() Mapping for all field I get the desired result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one concern about speed. I have not done any testing, but&amp;nbsp; my experience is that extended use of applymap on large data set could slow the script significantly. In my case this is not an issue so I can implement this without trouble.&lt;/P&gt;&lt;P&gt;Hence SET NULLINTERPRET is an Qlik feature, I would prefer to use that feature&amp;nbsp;if possible. So if anyone figure out how this is done for Excel, please post.&lt;/P&gt;&lt;P&gt;I'll close this case for now.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 21:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514531#M436851</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2018-11-29T21:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: NullInterpret for Excel sources</title>
      <link>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514658#M436862</link>
      <description>&lt;P&gt;In my experience are mappings very fast and nearly always the fastest way to add/transform data compared with any other measures. Even multiple and/or nested/concatenated mappings in loadings with millions of records work very well and fast.&lt;/P&gt;&lt;P&gt;Nevertheless this must create some kind of overhead compared to a load without it. I don't know how the replacing/adjustments with the NULL variables are technically implemented and if this feature also creates more or less overhead.&lt;/P&gt;&lt;P&gt;I never measured in this regard the run-times and I doubt that I would even try it because most there are other and more powerful measures to improve the load-performance, for example changing the source-type (xlsx are nearly the slowest type of loading because it are zipped xml-data) and/or implementing of incremental load-approaches.&lt;/P&gt;&lt;P&gt;Beside this I'm not sure that a general replacing of any "false" NULL with real null() in all fields and records is necessary and useful. Personally I adjust this and the reversed way rather seldom and only when there is a certain need (and the reversed way to fill NULL's with real values to make them selectable is more often).&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 07:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NullInterpret-for-Excel-sources/m-p/1514658#M436862</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-11-30T07:50:43Z</dc:date>
    </item>
  </channel>
</rss>

