<?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 Doubt in concatenate in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Doubt-in-concatenate/m-p/1155664#M20853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sorry for the basic question but this is not working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FactTable:&lt;/P&gt;&lt;P&gt;Load A,B,C;&lt;/P&gt;&lt;P&gt;SELECT ... FROM Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (FactTable)&lt;/P&gt;&lt;P&gt;Load A,B;&lt;/P&gt;&lt;P&gt;SELECT ... FROM Table2;&lt;/P&gt;&lt;P&gt;LEFT JOIN&lt;/P&gt;&lt;P&gt;LOAD A,C;&lt;/P&gt;&lt;P&gt;SELECT ... FROM SubTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LEFT join is workinf fine, if I run it alone Table2 and Subtable, column C is fine.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So I was expecting Field C from Subtable to concatenate on FactTable,it returns NULL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Any tip on what am I doing wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jul 2016 08:15:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-07-14T08:15:45Z</dc:date>
    <item>
      <title>Doubt in concatenate</title>
      <link>https://community.qlik.com/t5/App-Development/Doubt-in-concatenate/m-p/1155664#M20853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sorry for the basic question but this is not working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FactTable:&lt;/P&gt;&lt;P&gt;Load A,B,C;&lt;/P&gt;&lt;P&gt;SELECT ... FROM Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (FactTable)&lt;/P&gt;&lt;P&gt;Load A,B;&lt;/P&gt;&lt;P&gt;SELECT ... FROM Table2;&lt;/P&gt;&lt;P&gt;LEFT JOIN&lt;/P&gt;&lt;P&gt;LOAD A,C;&lt;/P&gt;&lt;P&gt;SELECT ... FROM SubTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LEFT join is workinf fine, if I run it alone Table2 and Subtable, column C is fine.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So I was expecting Field C from Subtable to concatenate on FactTable,it returns NULL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Any tip on what am I doing wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 08:15:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Doubt-in-concatenate/m-p/1155664#M20853</guid>
      <dc:creator />
      <dc:date>2016-07-14T08:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in concatenate</title>
      <link>https://community.qlik.com/t5/App-Development/Doubt-in-concatenate/m-p/1155665#M20854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try doing the JOIN of your tables Table2 and SubTable in your SQL SELECT part (single LOAD statement so to say).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 18:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Doubt-in-concatenate/m-p/1155665#M20854</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-07-14T18:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in concatenate</title>
      <link>https://community.qlik.com/t5/App-Development/Doubt-in-concatenate/m-p/1155666#M20855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I know why it doesn't work...&lt;/P&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14685231990775575 jive_text_macro" jivemacro_uid="_14685231990775575" modifiedtitle="true"&gt;
&lt;P&gt;FactTable:&lt;/P&gt;
&lt;P&gt;Load A,B,C;&lt;/P&gt;
&lt;P&gt;SELECT ... FROM Table1;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;CONCATENATE (FactTable)&lt;/P&gt;
&lt;P&gt;Load A,B;&lt;/P&gt;
&lt;P&gt;SELECT ... FROM Table2;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;--&amp;gt; result is a table with Fields A,B,C, even if some C - Fields are null().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14685232615991536 jive_text_macro" jivemacro_uid="_14685232615991536" modifiedtitle="true"&gt;
&lt;P&gt;LEFT JOIN&lt;/P&gt;
&lt;P&gt;LOAD A,C;&lt;/P&gt;
&lt;P&gt;SELECT ... FROM SubTable;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;will only work, if A &lt;STRONG&gt;and&lt;/STRONG&gt; C match --&amp;gt; Synthetic Key!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; solution could be the following:&lt;/P&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14685233640899064 jive_text_macro" jivemacro_uid="_14685233640899064" modifiedtitle="true"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;FactTable:&lt;/P&gt;
&lt;P&gt;Load A,B;&lt;/P&gt;
&lt;P&gt;SELECT ... FROM Table2;&lt;/P&gt;
&lt;P&gt;LEFT JOIN&lt;/P&gt;
&lt;P&gt;LOAD A,C;&lt;/P&gt;
&lt;P&gt;SELECT ... FROM SubTable;&lt;/P&gt;
&lt;P&gt;CONCATENATE (FactTable)&lt;/P&gt;
&lt;P&gt;Load A,B,C;&lt;/P&gt;
&lt;P&gt;SELECT ... FROM Table1;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; first join (only A as Key), then concatenate the rest.&lt;/P&gt;&lt;P&gt;You could even remove&lt;/P&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14685235923321022 jive_text_macro" jivemacro_uid="_14685235923321022" modifiedtitle="true"&gt;
&lt;P&gt;CONCATENATE (FactTable)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;because if all names are the same, QlikView will do an implicit concatenate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 19:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Doubt-in-concatenate/m-p/1155666#M20855</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-14T19:14:56Z</dc:date>
    </item>
  </channel>
</rss>

