<?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 Loading the data with empty cells in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-the-data-with-empty-cells/m-p/227341#M79452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to load the data from external QVD files. Some records there contain empty cells. What would be the best way to detect these cells and fill them with some data ("EMPTY" for string and "0000" for number, for example).&lt;/P&gt;&lt;P&gt;I would appreciate an expert advice.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;VK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Jan 2010 16:45:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-30T16:45:14Z</dc:date>
    <item>
      <title>Loading the data with empty cells</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-the-data-with-empty-cells/m-p/227341#M79452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to load the data from external QVD files. Some records there contain empty cells. What would be the best way to detect these cells and fill them with some data ("EMPTY" for string and "0000" for number, for example).&lt;/P&gt;&lt;P&gt;I would appreciate an expert advice.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;VK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jan 2010 16:45:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-the-data-with-empty-cells/m-p/227341#M79452</guid>
      <dc:creator />
      <dc:date>2010-01-30T16:45:14Z</dc:date>
    </item>
    <item>
      <title>Loading the data with empty cells</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-the-data-with-empty-cells/m-p/227342#M79453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vladimir,&lt;BR /&gt;&lt;BR /&gt;Not sure why you need it to be dual ('EMPTY' and 0), but, assuming you want to convert null values of a field into the required values, you can do it this way:&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;if(len(trim(field))=0, dual('EMPTY',0), field) as field&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;The "len(trim(field))=0" is a substitute for "isnull(field)" which should work as well, but may be unreliable. It will also convert the blank data, not only the NULL. &lt;BR /&gt;&lt;BR /&gt;Expect it to slow down the data load. If the speed is important, you can do it in two steps - first load data in a temp table as is, and after that load into the final table using the above method from the temp table. &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jan 2010 23:03:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-the-data-with-empty-cells/m-p/227342#M79453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-30T23:03:20Z</dc:date>
    </item>
    <item>
      <title>Loading the data with empty cells</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-the-data-with-empty-cells/m-p/227343#M79454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion. It works perfectly (I am not very concerned about loading time since my system is set to run reload once a day during after-hours).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;VK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Jan 2010 01:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-the-data-with-empty-cells/m-p/227343#M79454</guid>
      <dc:creator />
      <dc:date>2010-01-31T01:25:31Z</dc:date>
    </item>
  </channel>
</rss>

