<?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: Load table with only headers as meta data for table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-table-with-only-headers-as-meta-data-for-table/m-p/557076#M685343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) You could have the field names for HeaderMap in a separate file.&lt;/P&gt;&lt;P&gt;2) The renaming is global. But you could do this for the fields @1, @2, etc. only, after each loaded table. So, no other table will be effected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jan 2014 14:30:13 GMT</pubDate>
    <dc:creator>rbecher</dc:creator>
    <dc:date>2014-01-06T14:30:13Z</dc:date>
    <item>
      <title>Load table with only headers as meta data for table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-table-with-only-headers-as-meta-data-for-table/m-p/557073#M685340</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;&lt;/P&gt;&lt;P&gt;I'm loading sets of files, creating several QVDs.&lt;/P&gt;&lt;P&gt;my problem is that currently this files are without headers and I need to manually add the field names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way to save a meta table with the headers and then while loading the files to set the field names automatically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note that currently the load method is a generic subroutine and each file/table has different structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Boris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 13:55:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-table-with-only-headers-as-meta-data-for-table/m-p/557073#M685340</guid>
      <dc:creator />
      <dc:date>2014-01-06T13:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Load table with only headers as meta data for table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-table-with-only-headers-as-meta-data-for-table/m-p/557074#M685341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Boris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can load the data files w/o fieldnames (@1, @2, etc.) and the header names into a mapping table (maybe from another file) like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HeaderMap:&lt;/P&gt;&lt;P&gt;MAPPING LOAD '@' &amp;amp; RecNo(), &amp;lt;FieldName&amp;gt; FROM ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RENAME FIELD USING HeaderMap;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the data are loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 14:00:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-table-with-only-headers-as-meta-data-for-table/m-p/557074#M685341</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-01-06T14:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Load table with only headers as meta data for table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-table-with-only-headers-as-meta-data-for-table/m-p/557075#M685342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) The HeaderMap, what is the source? how doesr it look?&lt;/P&gt;&lt;P&gt;2) Rename field using - where to I indicate the target table? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Boris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 14:23:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-table-with-only-headers-as-meta-data-for-table/m-p/557075#M685342</guid>
      <dc:creator />
      <dc:date>2014-01-06T14:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Load table with only headers as meta data for table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-table-with-only-headers-as-meta-data-for-table/m-p/557076#M685343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) You could have the field names for HeaderMap in a separate file.&lt;/P&gt;&lt;P&gt;2) The renaming is global. But you could do this for the fields @1, @2, etc. only, after each loaded table. So, no other table will be effected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 14:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-table-with-only-headers-as-meta-data-for-table/m-p/557076#M685343</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-01-06T14:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Load table with only headers as meta data for table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-table-with-only-headers-as-meta-data-for-table/m-p/557077#M685344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the right structure of the script is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load meta table X with header names&lt;/P&gt;&lt;P&gt;load actual files and create table X' (headers still @1,@2 ...)&lt;/P&gt;&lt;P&gt;rename field X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load meta table Y with header names&lt;/P&gt;&lt;P&gt;load actual files and create table Y' (headers still @1,@2 ...)&lt;/P&gt;&lt;P&gt;rename field Y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;each rename will surely effect only the latest load?&lt;/P&gt;&lt;P&gt;And also, in matters of performance, is this procedure consuming? (I'm asking because there is a possibility&lt;/P&gt;&lt;P&gt;to alter the files creation and give headers - more development on the system side- and not use this meta data tables)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Boris &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 14:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-table-with-only-headers-as-meta-data-for-table/m-p/557077#M685344</guid>
      <dc:creator />
      <dc:date>2014-01-06T14:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Load table with only headers as meta data for table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-table-with-only-headers-as-meta-data-for-table/m-p/557078#M685345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To have the field names in the file header would be best case. But loading meta data and renaming shouldn't consume much time. However, each mapping table (HeaderMap) should have it's own name..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 15:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-table-with-only-headers-as-meta-data-for-table/m-p/557078#M685345</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-01-06T15:01:30Z</dc:date>
    </item>
  </channel>
</rss>

