<?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: How can I avoid $syn key in this case? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-can-I-avoid-syn-key-in-this-case/m-p/2044619#M85955</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Do a Forced concatenation as two tables do not have exactly the same set of fields.&lt;/P&gt;
&lt;P&gt;TableA:&lt;BR /&gt;LOAD field1,&lt;BR /&gt;field2, &lt;BR /&gt;field3,&lt;BR /&gt;field4&lt;BR /&gt;FROM SourceA;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Concatenate&lt;/STRONG&gt;&lt;BR /&gt;TableB:&lt;BR /&gt;LOAD field1,&lt;BR /&gt;field2, &lt;BR /&gt;field3,&lt;BR /&gt;field5&lt;BR /&gt;FROM SourceB;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Mar 2023 17:08:43 GMT</pubDate>
    <dc:creator>BrunPierre</dc:creator>
    <dc:date>2023-03-02T17:08:43Z</dc:date>
    <item>
      <title>How can I avoid $syn key in this case?</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-avoid-syn-key-in-this-case/m-p/2044578#M85952</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I have two correlated tables by 3 fields (field1, field2, field3):&lt;/P&gt;
&lt;P&gt;TableA:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%" height="24px"&gt;field1&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;field2&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;field3&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;field4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#FF0000"&gt;A&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#FF0000"&gt;Z&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#FF0000"&gt;aaa&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;25&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#FF0000"&gt;B&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#FF0000"&gt;Y&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#FF0000"&gt;aaa&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;10&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#0000FF"&gt;A&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#0000FF"&gt;Y&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#0000FF"&gt;bbb&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;20&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TableB:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%" height="24px"&gt;field1&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;field2&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;field3&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;field5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#FF0000"&gt;A&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#FF0000"&gt;Z&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#FF0000"&gt;aaa&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#FF0000"&gt;B&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#FF0000"&gt;Y&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#FF0000"&gt;aaa&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#00FF00"&gt;M&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#00FF00"&gt;Z&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;&lt;FONT color="#00FF00"&gt;bbb&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;6&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I upload both tables, Qlik automatically creates a&amp;nbsp;&lt;SPAN&gt;$syn key with the three fields. I know one option is to create a new key as &lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;filed1&amp;amp;field2&amp;amp;field3&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt; and upload theese field values only in one table (i.e.: TableA). The problem is that there are &lt;FONT color="#FF0000"&gt;common&amp;nbsp;filed1&amp;amp;field2&amp;amp;field3&lt;/FONT&gt; between the two tables, but there are some&amp;nbsp;filed1&amp;amp;field2&amp;amp;field3 that are &lt;FONT color="#0000FF"&gt;in tableA and not in tableB&lt;/FONT&gt; (or &lt;FONT color="#00FF00"&gt;in tableB and not in tableA&lt;/FONT&gt;), son I can't solve it creating this new key.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I want to avoid creating a 3rd table with all the combinations of&amp;nbsp;filed1&amp;amp;field2&amp;amp;field3 because of the complexity of the data.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Any idea?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 15:50:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-avoid-syn-key-in-this-case/m-p/2044578#M85952</guid>
      <dc:creator>amaaiia</dc:creator>
      <dc:date>2023-03-02T15:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I avoid $syn key in this case?</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-avoid-syn-key-in-this-case/m-p/2044619#M85955</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Do a Forced concatenation as two tables do not have exactly the same set of fields.&lt;/P&gt;
&lt;P&gt;TableA:&lt;BR /&gt;LOAD field1,&lt;BR /&gt;field2, &lt;BR /&gt;field3,&lt;BR /&gt;field4&lt;BR /&gt;FROM SourceA;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Concatenate&lt;/STRONG&gt;&lt;BR /&gt;TableB:&lt;BR /&gt;LOAD field1,&lt;BR /&gt;field2, &lt;BR /&gt;field3,&lt;BR /&gt;field5&lt;BR /&gt;FROM SourceB;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 17:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-avoid-syn-key-in-this-case/m-p/2044619#M85955</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-03-02T17:08:43Z</dc:date>
    </item>
  </channel>
</rss>

