<?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 lookup/mapping table for this scenario? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/lookup-mapping-table-for-this-scenario/m-p/448810#M696353</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will have to deal with a "variable" database table structure because my import files are likely to change (more or less columns) once in a while which then should be mapped to the one db-table.&lt;/P&gt;&lt;P&gt;Basically each import file will have a new VersionID if the data/column structure has been changed.&lt;/P&gt;&lt;P&gt;Thus, my db-model now only has Col1 to ColN column names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since QlikView works on column names I was thinking that I could have a lookup Excel table to assign the generic column name to a new column name depending on the VersionID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LookupTable:&lt;/P&gt;&lt;P&gt;VersionID | ProductID | Col1 | Col2 | Col3 |...&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | A&amp;nbsp;&amp;nbsp;&amp;nbsp; |newCol1Header|newCol2Header|&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | A&amp;nbsp;&amp;nbsp;&amp;nbsp; |newerCol1Header|newerCol2Header|&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is a good approach I'm hoping that you can help me with an example.&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, 12 Apr 2013 10:44:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-12T10:44:13Z</dc:date>
    <item>
      <title>lookup/mapping table for this scenario?</title>
      <link>https://community.qlik.com/t5/QlikView/lookup-mapping-table-for-this-scenario/m-p/448810#M696353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will have to deal with a "variable" database table structure because my import files are likely to change (more or less columns) once in a while which then should be mapped to the one db-table.&lt;/P&gt;&lt;P&gt;Basically each import file will have a new VersionID if the data/column structure has been changed.&lt;/P&gt;&lt;P&gt;Thus, my db-model now only has Col1 to ColN column names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since QlikView works on column names I was thinking that I could have a lookup Excel table to assign the generic column name to a new column name depending on the VersionID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LookupTable:&lt;/P&gt;&lt;P&gt;VersionID | ProductID | Col1 | Col2 | Col3 |...&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | A&amp;nbsp;&amp;nbsp;&amp;nbsp; |newCol1Header|newCol2Header|&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | A&amp;nbsp;&amp;nbsp;&amp;nbsp; |newerCol1Header|newerCol2Header|&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is a good approach I'm hoping that you can help me with an example.&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, 12 Apr 2013 10:44:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup-mapping-table-for-this-scenario/m-p/448810#M696353</guid>
      <dc:creator />
      <dc:date>2013-04-12T10:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: lookup/mapping table for this scenario?</title>
      <link>https://community.qlik.com/t5/QlikView/lookup-mapping-table-for-this-scenario/m-p/448811#M696354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;still hoping for ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 07:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup-mapping-table-for-this-scenario/m-p/448811#M696354</guid>
      <dc:creator />
      <dc:date>2013-04-15T07:59:47Z</dc:date>
    </item>
  </channel>
</rss>

