<?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 How to avoid Synthetic key when loading from QVD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-avoid-Synthetic-key-when-loading-from-QVD/m-p/263073#M98968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;hi all, &lt;/DIV&gt;&lt;DIV&gt;I'm loading data from 3 QVD files (&lt;SPAN style="font-size: 8pt;"&gt;xxCUSTOMERS.QVD) &lt;/SPAN&gt; with the same fields.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;CUSTOMERS_DATA: &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; *CUSTOMERS.qvd (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;); &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;After loading all files the system &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;creates 3 tables CUSTOMERS_DATA with Synthetic keys.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Could you advice me on how should I load the files into one table (CUSTOMERS_DATA).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks in advanced.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;David&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jul 2011 08:35:44 GMT</pubDate>
    <dc:creator>david_ze</dc:creator>
    <dc:date>2011-07-07T08:35:44Z</dc:date>
    <item>
      <title>How to avoid Synthetic key when loading from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-Synthetic-key-when-loading-from-QVD/m-p/263073#M98968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;hi all, &lt;/DIV&gt;&lt;DIV&gt;I'm loading data from 3 QVD files (&lt;SPAN style="font-size: 8pt;"&gt;xxCUSTOMERS.QVD) &lt;/SPAN&gt; with the same fields.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;CUSTOMERS_DATA: &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; *CUSTOMERS.qvd (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;); &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;After loading all files the system &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;creates 3 tables CUSTOMERS_DATA with Synthetic keys.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Could you advice me on how should I load the files into one table (CUSTOMERS_DATA).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks in advanced.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;David&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 08:35:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-Synthetic-key-when-loading-from-QVD/m-p/263073#M98968</guid>
      <dc:creator>david_ze</dc:creator>
      <dc:date>2011-07-07T08:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid Synthetic key when loading from QVD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-avoid-Synthetic-key-when-loading-from-QVD/m-p/263074#M98969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they have the same fields, there must be some problem anywhere, since QlikView concatentates implicitly when two orm ore tables in the script have the same number and name of fields (note that QlikView is case sensitive for both field names and values), unless NOCONCATENATE is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, you can force several tables to be concatenated explicitly preceding the second and onwards LOAD keywords with CONCATENATE. However, in this case you cannot use the wildcard in the FROM part:&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"&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM File1.qvd (qvd);&lt;/P&gt;&lt;P&gt;CONCATENATE LOAD *&lt;/P&gt;&lt;P&gt;FROM File2.qvd (qvd);&lt;/P&gt;&lt;P&gt;CONCATENATE LOAD *&lt;/P&gt;&lt;P&gt;FROM File3.qvd (qvd);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you only loading those three tables? If you script has more tables, it may be one of these what is causing the synthetic keys. QlikView creates a synthetic key whenever two or more tables have two or more fields named alike.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small active_link" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 08:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-avoid-Synthetic-key-when-loading-from-QVD/m-p/263074#M98969</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-07-07T08:53:56Z</dc:date>
    </item>
  </channel>
</rss>

