<?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: Synthetic Key issue in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Synthetic-Key-issue/m-p/1895500#M73886</link>
    <description>&lt;P&gt;I reviewed your script above and I don't see any possibility of having synthetic keys&lt;BR /&gt;Is what you have written is the one really in your app&lt;BR /&gt;cause here table1 would link to table2 via A_ID and to table3 via B_ID&lt;BR /&gt;so there shouldn't be a synthetic key&lt;BR /&gt;&lt;BR /&gt;can you please send me screen shot of the data model viewer?&lt;/P&gt;</description>
    <pubDate>Mon, 21 Feb 2022 13:56:01 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2022-02-21T13:56:01Z</dc:date>
    <item>
      <title>Synthetic Key issue</title>
      <link>https://community.qlik.com/t5/App-Development/Synthetic-Key-issue/m-p/1895373#M73868</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to join to tables on load from different sections. However, instead of&amp;nbsp; connecting two tables directly, I end up getting two synthetic tales&amp;nbsp; with synthetic keys only.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is exemplary schema I am implementing, would be grateful for any suggestions:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Section 1:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;[table1]&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;A as "A_ID",&lt;/P&gt;
&lt;P&gt;B as "B_ID",&lt;/P&gt;
&lt;P&gt;C as "C_ID",&lt;/P&gt;
&lt;P&gt;D as "D_ID"&lt;/P&gt;
&lt;P&gt;from qvdname.qvd (qvd);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Section 2:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;[table2]&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;A as "A_ID",&lt;/P&gt;
&lt;P&gt;E as "E_ID"&lt;/P&gt;
&lt;P&gt;from qvdname1.qvd (qvd);&lt;/P&gt;
&lt;P&gt;LEFT JOIN&amp;nbsp; (&lt;U&gt;[table2])&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;A as "A_ID",&lt;/P&gt;
&lt;P&gt;H as "H_ID"&lt;/P&gt;
&lt;P&gt;from qvdname2.qvd (qvd);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;[table3]&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;B as "B_ID",&lt;/P&gt;
&lt;P&gt;F as "F_ID"&lt;/P&gt;
&lt;P&gt;from qvdname3.qvd (qvd);&lt;/P&gt;
&lt;P&gt;LEFT JOIN&amp;nbsp; (&lt;U&gt;[table3])&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;B as "B_ID",&lt;/P&gt;
&lt;P&gt;J as "J_ID"&lt;/P&gt;
&lt;P&gt;from qvdname5.qvd (qvd);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Result&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;Synthetic Table 1 with&amp;nbsp;&amp;nbsp;A as "A_ID"&lt;/P&gt;
&lt;P&gt;Synthetic Table 2 with B as "B_ID"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 11:03:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Synthetic-Key-issue/m-p/1895373#M73868</guid>
      <dc:creator>Mt3</dc:creator>
      <dc:date>2022-02-21T11:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Key issue</title>
      <link>https://community.qlik.com/t5/App-Development/Synthetic-Key-issue/m-p/1895389#M73871</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;first you need to specify in the left join which table you are trying to make the left join on:&lt;BR /&gt;i.e. left join(&lt;U&gt;[table1])&lt;BR /&gt;&lt;/U&gt;load...&lt;BR /&gt;or left join(table2)...&lt;BR /&gt;&lt;BR /&gt;after reload check which tables are linked with more than 1 columns and this identifies the synthetic key&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 10:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Synthetic-Key-issue/m-p/1895389#M73871</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2022-02-21T10:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Key issue</title>
      <link>https://community.qlik.com/t5/App-Development/Synthetic-Key-issue/m-p/1895473#M73883</link>
      <description>&lt;P&gt;Thanks! I have omitted table names in the description, although they have been included in the script, sorry for that.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 13:12:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Synthetic-Key-issue/m-p/1895473#M73883</guid>
      <dc:creator>Mt3</dc:creator>
      <dc:date>2022-02-21T13:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Synthetic Key issue</title>
      <link>https://community.qlik.com/t5/App-Development/Synthetic-Key-issue/m-p/1895500#M73886</link>
      <description>&lt;P&gt;I reviewed your script above and I don't see any possibility of having synthetic keys&lt;BR /&gt;Is what you have written is the one really in your app&lt;BR /&gt;cause here table1 would link to table2 via A_ID and to table3 via B_ID&lt;BR /&gt;so there shouldn't be a synthetic key&lt;BR /&gt;&lt;BR /&gt;can you please send me screen shot of the data model viewer?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 13:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Synthetic-Key-issue/m-p/1895500#M73886</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2022-02-21T13:56:01Z</dc:date>
    </item>
  </channel>
</rss>

