<?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: Concatenate tables based on defined structure? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenate-tables-based-on-defined-structure/m-p/1201919#M627162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What about loading one master Table before starting the Loop with all exisiting columns like:&lt;/P&gt;&lt;P&gt;Load null() as A, null() as B, null() as C, .... autogenerate(1);&lt;/P&gt;&lt;P&gt;Then start the Loop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2016 06:32:46 GMT</pubDate>
    <dc:creator>zhadrakas</dc:creator>
    <dc:date>2016-10-05T06:32:46Z</dc:date>
    <item>
      <title>Concatenate tables based on defined structure?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-tables-based-on-defined-structure/m-p/1201918#M627161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where i have around 30 tables and i want to concatenate them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of the column in each table are same.. and i want to create a final concatenated table based on defined structure..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example : suppose i want to create a final table having column names as &lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;A&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;C&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;D&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;E&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now there are around 30 tables to be concatenate and form the final table.. let me give two table structure...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;C&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;D&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;M&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;A&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;B&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;C&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;E&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;M&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;N&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;O&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;P&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for these two table i can simply restrict table column manually..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But looking for a way where i can use some for loop and some condition to load all the tables but pick only desired columns...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope i am able to clarify my requirement.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help and let me know if any further clarification required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 06:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-tables-based-on-defined-structure/m-p/1201918#M627161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-05T06:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate tables based on defined structure?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-tables-based-on-defined-structure/m-p/1201919#M627162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What about loading one master Table before starting the Loop with all exisiting columns like:&lt;/P&gt;&lt;P&gt;Load null() as A, null() as B, null() as C, .... autogenerate(1);&lt;/P&gt;&lt;P&gt;Then start the Loop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 06:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-tables-based-on-defined-structure/m-p/1201919#M627162</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2016-10-05T06:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate tables based on defined structure?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-tables-based-on-defined-structure/m-p/1201920#M627163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That i understand but the problem is how can i automatically remove the undesired column from the table1 and table2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like i want to remove column "M" from table 1 and "E,M,N,O,P" from table 2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 07:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-tables-based-on-defined-structure/m-p/1201920#M627163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-05T07:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate tables based on defined structure?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-tables-based-on-defined-structure/m-p/1201921#M627164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i would go the same way and delete undesired colums:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;RemoveCols:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; ColName&lt;BR /&gt; C&lt;BR /&gt; E&lt;BR /&gt; M&lt;BR /&gt; N&lt;BR /&gt; O&lt;BR /&gt; P&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load null() as A, null() as B, null() as C, .... autogenerate(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load 30 Tables&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each col in &lt;SPAN style="font-size: 8pt;"&gt;RemoveCols&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; drop field '$(col)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;next &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table RemoveCols;&lt;/P&gt;&lt;P&gt;LET col =;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 07:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-tables-based-on-defined-structure/m-p/1201921#M627164</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2016-10-05T07:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate tables based on defined structure?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-tables-based-on-defined-structure/m-p/1201922#M627165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe one solution might be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_235261_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139783_QlikCommunity_Thread_235261_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_235261_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/139784_QlikCommunity_Thread_235261_Pic2.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14757115262662577" jivemacro_uid="_14757115262662577"&gt;
&lt;P&gt;tabTemp:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;LOAD * FROM [&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2061" data-containertype="14" data-objectid="235261" data-objecttype="1" href="https://community.qlik.com/thread/235261"&gt;https://community.qlik.com/thread/235261&lt;/A&gt;&lt;SPAN&gt;] (html, codepage is 1252, embedded labels, table is @2);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Concatenate&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;LOAD * FROM [&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2061" data-containertype="14" data-objectid="235261" data-objecttype="1" href="https://community.qlik.com/thread/235261"&gt;https://community.qlik.com/thread/235261&lt;/A&gt;&lt;SPAN&gt;] (html, codepage is 1252, embedded labels, table is @3);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;/P&gt;
&lt;P&gt;tabResult:&lt;/P&gt;
&lt;P&gt;LOAD A, B, C, D, E&lt;/P&gt;
&lt;P&gt;Resident tabTemp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Table tabTemp;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 23:52:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-tables-based-on-defined-structure/m-p/1201922#M627165</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-10-05T23:52:19Z</dc:date>
    </item>
  </channel>
</rss>

