<?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 Generic load with extra columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Generic-load-with-extra-columns/m-p/404474#M150495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have EAV/Property bag database structure which I want to load using GENERIC LOAD. The problem is, each property row also has ValidFrom and ValidTo colums, and including those in the load script produces huge amount of tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database structure:&lt;/P&gt;&lt;P&gt;EntityID int&lt;/P&gt;&lt;P&gt;PropertyName string&lt;/P&gt;&lt;P&gt;PropertyValue string&lt;/P&gt;&lt;P&gt;ValidFrom date&lt;/P&gt;&lt;P&gt;ValidTo date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to load it like this, which gives me tons of tables with numbering like 40123 (date I quess?):&lt;/P&gt;&lt;P&gt;GENERIC LOAD&lt;/P&gt;&lt;P&gt;AutoNumber(EntityID, 'Entity') AS Entity,&lt;/P&gt;&lt;P&gt;PropertyName,&lt;/P&gt;&lt;P&gt;PropertyValue,&lt;/P&gt;&lt;P&gt;ValidFrom,&lt;/P&gt;&lt;P&gt;ValidTo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This load will give the correct table structure, but I still need those two extra columns for each row:&lt;/P&gt;&lt;P&gt;GENERIC LOAD&lt;/P&gt;&lt;P&gt;AutoNumber(EntityID, 'Entity') AS Entity,&lt;/P&gt;&lt;P&gt;PropertyName,&lt;/P&gt;&lt;P&gt;PropertyValue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 May 2013 11:44:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-24T11:44:09Z</dc:date>
    <item>
      <title>Generic load with extra columns</title>
      <link>https://community.qlik.com/t5/QlikView/Generic-load-with-extra-columns/m-p/404474#M150495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have EAV/Property bag database structure which I want to load using GENERIC LOAD. The problem is, each property row also has ValidFrom and ValidTo colums, and including those in the load script produces huge amount of tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database structure:&lt;/P&gt;&lt;P&gt;EntityID int&lt;/P&gt;&lt;P&gt;PropertyName string&lt;/P&gt;&lt;P&gt;PropertyValue string&lt;/P&gt;&lt;P&gt;ValidFrom date&lt;/P&gt;&lt;P&gt;ValidTo date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to load it like this, which gives me tons of tables with numbering like 40123 (date I quess?):&lt;/P&gt;&lt;P&gt;GENERIC LOAD&lt;/P&gt;&lt;P&gt;AutoNumber(EntityID, 'Entity') AS Entity,&lt;/P&gt;&lt;P&gt;PropertyName,&lt;/P&gt;&lt;P&gt;PropertyValue,&lt;/P&gt;&lt;P&gt;ValidFrom,&lt;/P&gt;&lt;P&gt;ValidTo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This load will give the correct table structure, but I still need those two extra columns for each row:&lt;/P&gt;&lt;P&gt;GENERIC LOAD&lt;/P&gt;&lt;P&gt;AutoNumber(EntityID, 'Entity') AS Entity,&lt;/P&gt;&lt;P&gt;PropertyName,&lt;/P&gt;&lt;P&gt;PropertyValue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 11:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generic-load-with-extra-columns/m-p/404474#M150495</guid>
      <dc:creator />
      <dc:date>2013-05-24T11:44:09Z</dc:date>
    </item>
  </channel>
</rss>

