<?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: When importing multiple csv in a folder, the header appears in the values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/When-importing-multiple-csv-in-a-folder-the-header-appears-in/m-p/420516#M700555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I actually updated my post meanwhile you replied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With embedded labels there is not such a problem, but since this csv files are updated weekly, with rolling data, the headers are changing too, according to the day to which they refer to.&lt;/P&gt;&lt;P&gt;Therefore I need to take field position when I do the load...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Nov 2012 15:16:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-09T15:16:47Z</dc:date>
    <item>
      <title>When importing multiple csv in a folder, the header appears in the values</title>
      <link>https://community.qlik.com/t5/QlikView/When-importing-multiple-csv-in-a-folder-the-header-appears-in/m-p/420514#M700552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a number of csv files in a folder, named File1, File2 etcetc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am loading from them using explicit labels, as I need to rename some fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;problem is, if I use the following script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13524740780555576" jivemacro_uid="_13524740780555576"&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Folder\File*.csv]&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, explicit labels, delimiter is ',', msq);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the resulting fields the header is one value of the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g, if it was&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13524740780545498" jivemacro_uid="_13524740780545498"&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;@1 as Item&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the resulting *.qvw, the Item fields is also going to contain an 'Item' value..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea how to overcome this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im clearly stating I have this problem when using explicit labels, because if I use embedded labels, the problem does not show up..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 15:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-importing-multiple-csv-in-a-folder-the-header-appears-in/m-p/420514#M700552</guid>
      <dc:creator />
      <dc:date>2012-11-09T15:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: When importing multiple csv in a folder, the header appears in the values</title>
      <link>https://community.qlik.com/t5/QlikView/When-importing-multiple-csv-in-a-folder-the-header-appears-in/m-p/420515#M700554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you want to use 'embedded labels' instead of 'explicit labels'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the help file:&lt;/P&gt;&lt;P&gt;&lt;A name="kanchor759"&gt;&lt;/A&gt;&lt;A name="kanchor760"&gt;&lt;/A&gt;&lt;EM&gt;The field names can be found in different places of the file. If the first record contains the field names, &lt;SPAN class="Bold"&gt;embedded labels&lt;/SPAN&gt; should be used. If there are no field names to be found, &lt;SPAN class="Bold"&gt;no labels&lt;/SPAN&gt; should be used. In &lt;SPAN class="Bold"&gt;dif&lt;/SPAN&gt; files, a separate header section with explicit field names is sometimes used. In such a case, &lt;SPAN class="Bold"&gt;explicit labels&lt;/SPAN&gt; should be used. If nothing is specified, &lt;SPAN class="Bold"&gt;embedded labels&lt;/SPAN&gt; is assumed, also for &lt;SPAN class="Bold"&gt;dif&lt;/SPAN&gt; files. &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 15:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-importing-multiple-csv-in-a-folder-the-header-appears-in/m-p/420515#M700554</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-09T15:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: When importing multiple csv in a folder, the header appears in the values</title>
      <link>https://community.qlik.com/t5/QlikView/When-importing-multiple-csv-in-a-folder-the-header-appears-in/m-p/420516#M700555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I actually updated my post meanwhile you replied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With embedded labels there is not such a problem, but since this csv files are updated weekly, with rolling data, the headers are changing too, according to the day to which they refer to.&lt;/P&gt;&lt;P&gt;Therefore I need to take field position when I do the load...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 15:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-importing-multiple-csv-in-a-folder-the-header-appears-in/m-p/420516#M700555</guid>
      <dc:creator />
      <dc:date>2012-11-09T15:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: When importing multiple csv in a folder, the header appears in the values</title>
      <link>https://community.qlik.com/t5/QlikView/When-importing-multiple-csv-in-a-folder-the-header-appears-in/m-p/420517#M700557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi when ur importing the .csv files from edit script using table files , once u select the files u have labels on extreme right , if u use embedded labels then u will get rid of @1..&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 15:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-importing-multiple-csv-in-a-folder-the-header-appears-in/m-p/420517#M700557</guid>
      <dc:creator>shree909</dc:creator>
      <dc:date>2012-11-09T15:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: When importing multiple csv in a folder, the header appears in the values</title>
      <link>https://community.qlik.com/t5/QlikView/When-importing-multiple-csv-in-a-folder-the-header-appears-in/m-p/420518#M700559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please look above post of mine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to use @1, @2 etcetc, beacuse headers labels are changing weekly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 15:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-importing-multiple-csv-in-a-folder-the-header-appears-in/m-p/420518#M700559</guid>
      <dc:creator />
      <dc:date>2012-11-09T15:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: When importing multiple csv in a folder, the header appears in the values</title>
      <link>https://community.qlik.com/t5/QlikView/When-importing-multiple-csv-in-a-folder-the-header-appears-in/m-p/420519#M700561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't quite understand what you need. If you want to skip the header you can use 'no labels' in combination with 'header is 1'. That way you will only load the data. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 15:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-importing-multiple-csv-in-a-folder-the-header-appears-in/m-p/420519#M700561</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-09T15:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: When importing multiple csv in a folder, the header appears in the values</title>
      <link>https://community.qlik.com/t5/QlikView/When-importing-multiple-csv-in-a-folder-the-header-appears-in/m-p/420520#M700562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, yes! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;you are right!&lt;/P&gt;&lt;P&gt;the solution was so obvious (and my brain is fried up, seems like), that I did not think about it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I am creating my own labels and using the field positions, I can skip all the first rows of all files!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nice, it is always like this, the most ingenious solutions, are the simplest!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 15:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-importing-multiple-csv-in-a-folder-the-header-appears-in/m-p/420520#M700562</guid>
      <dc:creator />
      <dc:date>2012-11-09T15:29:21Z</dc:date>
    </item>
  </channel>
</rss>

