<?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: Handle null values in CSV files in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Handle-null-values-in-CSV-files/m-p/863539#M1002022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it in qlikview by using transformation step by specifying fill condition. You can replace null value with some other value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2015 11:22:40 GMT</pubDate>
    <dc:creator>qlikmsg4u</dc:creator>
    <dc:date>2015-06-10T11:22:40Z</dc:date>
    <item>
      <title>Handle null values in CSV files</title>
      <link>https://community.qlik.com/t5/QlikView/Handle-null-values-in-CSV-files/m-p/863538#M1002021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to extract data from a CSV file with fixed width.&lt;/P&gt;&lt;P&gt;I found au &lt;STRONG style=": ; font-size: 12pt; font-family: 'courier new', courier;"&gt;NUL&lt;/STRONG&gt; symbol in the file which causes a shift in the extraction and gives splitting errors.&lt;/P&gt;&lt;P&gt;Below a sample screen shot of the problem :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ShiftError.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88933_ShiftError.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NB : this screen shot was taken from Notepad++ and I manually added the red lines to explain this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone has faced a similar problem ?&lt;/P&gt;&lt;P&gt;Can I handle it in QlikView script or should I ask for a clean file ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 11:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handle-null-values-in-CSV-files/m-p/863538#M1002021</guid>
      <dc:creator />
      <dc:date>2015-06-10T11:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Handle null values in CSV files</title>
      <link>https://community.qlik.com/t5/QlikView/Handle-null-values-in-CSV-files/m-p/863539#M1002022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it in qlikview by using transformation step by specifying fill condition. You can replace null value with some other value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 11:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handle-null-values-in-CSV-files/m-p/863539#M1002022</guid>
      <dc:creator>qlikmsg4u</dc:creator>
      <dc:date>2015-06-10T11:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Handle null values in CSV files</title>
      <link>https://community.qlik.com/t5/QlikView/Handle-null-values-in-CSV-files/m-p/863540#M1002023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ghassen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its always bet to work with clean data but as that is not always an option it might be worth building a temporary loading state where you handling this kind of issues by using the replace function (if the null always should be replaced with a spec thing ex. a 0). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 11:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handle-null-values-in-CSV-files/m-p/863540#M1002023</guid>
      <dc:creator />
      <dc:date>2015-06-10T11:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Handle null values in CSV files</title>
      <link>https://community.qlik.com/t5/QlikView/Handle-null-values-in-CSV-files/m-p/863541#M1002024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you post some lines of the file (with NUL)&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 11:39:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handle-null-values-in-CSV-files/m-p/863541#M1002024</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-10T11:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Handle null values in CSV files</title>
      <link>https://community.qlik.com/t5/QlikView/Handle-null-values-in-CSV-files/m-p/863542#M1002025</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 the value NUL is seen in qlikview report itself, then u can replace that NUL with replace function. &lt;/P&gt;&lt;P&gt;May be try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trim(Replace(FieldName, 'NUL','')) as FieldName;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;If NUL is not seen then but empty values are there, then u can try like this&lt;/P&gt;&lt;P&gt;Trim(FieldName) -- remove empty values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 12:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handle-null-values-in-CSV-files/m-p/863542#M1002025</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2015-06-10T12:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Handle null values in CSV files</title>
      <link>https://community.qlik.com/t5/QlikView/Handle-null-values-in-CSV-files/m-p/863543#M1002026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can solve it this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Left(Line,3) as Field1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Mid(Line,4,4) as Field2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Mid(Line,8,3) as Field3&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;LOAD Replace( @1:n, 'NUL', '') as Line &lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM [File.csv] (fix, codepage is 1252);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 12:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handle-null-values-in-CSV-files/m-p/863543#M1002026</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-06-10T12:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Handle null values in CSV files</title>
      <link>https://community.qlik.com/t5/QlikView/Handle-null-values-in-CSV-files/m-p/863544#M1002027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your answers &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just got a clean file !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I promise you i will test your solutions when I'll have some free time, it's a very intersting challenge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 13:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Handle-null-values-in-CSV-files/m-p/863544#M1002027</guid>
      <dc:creator />
      <dc:date>2015-06-10T13:43:07Z</dc:date>
    </item>
  </channel>
</rss>

