<?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 CSV files with some column headers missing in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/CSV-files-with-some-column-headers-missing/m-p/226272#M78479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Hector,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats got it sorted.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jan 2010 18:36:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-29T18:36:31Z</dc:date>
    <item>
      <title>CSV files with some column headers missing</title>
      <link>https://community.qlik.com/t5/QlikView/CSV-files-with-some-column-headers-missing/m-p/226270#M78477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have two problems&lt;/P&gt;&lt;P&gt;1) Hope this will be an easy one to solve. I have a large amount of CSV files which are generated evey day automatically from on of our core systems. These reports formats can not be changed.&lt;/P&gt;&lt;P&gt;Some of the coumns do not have headers, however I want to import these as well as the columns that do. Does anyone know how to do this.&lt;/P&gt;&lt;P&gt;2) The second problem is that each file is for a particular client and is named xxxxxxx EEMCP dd/mm/yyyy.csv where xxxxxxx is the client name. The client name is not contained in the file itself and I need to take the client name from the filename and add this as a column when importing.&lt;/P&gt;&lt;P&gt;I tried something like varStringSpace = substringcount(filename(),' ') to try and find the first space so that I can then use that to extract the name into a variable and populate the table. It doesnt seem to work and I am not getting any clue as to what the problem is...it may be that filename() does not contain the file name but I am not sure. Can anyone help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 20:19:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CSV-files-with-some-column-headers-missing/m-p/226270#M78477</guid>
      <dc:creator />
      <dc:date>2010-01-28T20:19:53Z</dc:date>
    </item>
    <item>
      <title>CSV files with some column headers missing</title>
      <link>https://community.qlik.com/t5/QlikView/CSV-files-with-some-column-headers-missing/m-p/226271#M78478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i made this zip file, with csv files and the qv model&lt;/P&gt;&lt;P&gt;First:&lt;BR /&gt;i think the "secret" is read all the csv files with "no labels", and try to find a numeric field, so if this field reads a text (field name), just drop it (with the isnum() function)&lt;/P&gt;&lt;P&gt;Second:&lt;BR /&gt;filename() will work for you "inside" the load statement&lt;/P&gt;&lt;P&gt;check the model and tell me if it works for you&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 21:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CSV-files-with-some-column-headers-missing/m-p/226271#M78478</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2010-01-28T21:05:24Z</dc:date>
    </item>
    <item>
      <title>CSV files with some column headers missing</title>
      <link>https://community.qlik.com/t5/QlikView/CSV-files-with-some-column-headers-missing/m-p/226272#M78479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Hector,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats got it sorted.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2010 18:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CSV-files-with-some-column-headers-missing/m-p/226272#M78479</guid>
      <dc:creator />
      <dc:date>2010-01-29T18:36:31Z</dc:date>
    </item>
  </channel>
</rss>

