<?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: Load tables separately, merge to one table, then drop two separate tables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Load-tables-separately-merge-to-one-table-then-drop-two-separate/m-p/1514615#M36685</link>
    <description>&lt;P&gt;It would look like:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Final:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;NoConcatenate&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD * Resident Wbooks;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Concatenate (Final)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD * Resident Bbooks;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Drop Tables Wbooks, Bbooks;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
    <pubDate>Fri, 30 Nov 2018 06:22:33 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2018-11-30T06:22:33Z</dc:date>
    <item>
      <title>Load tables separately, merge to one table, then drop two separate tables</title>
      <link>https://community.qlik.com/t5/App-Development/Load-tables-separately-merge-to-one-table-then-drop-two-separate/m-p/1514572#M36678</link>
      <description>&lt;P&gt;I want to load table ‘Wbooks’ and table ‘Bbooks’ separately, then load the data from both tables into a single table in the Script Editor, and afterwards drop the separate tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was not able to figure out the part where I load the data from the separate tables into a single table from within the Script Editor. This is my script, can you show me how?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wbooks:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Title" AS "WB Title",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Business" AS&amp;nbsp; "WB Business"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Len(Level = 13), 'Discarded'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FROM [lib://Books/WBBooks.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [WBBooks])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where [Date] &amp;lt; MakeDate(2011,8,1) ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;drop table Wbooks;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bbooks:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Title" AS "BN Title",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Business" AS&amp;nbsp; "BN Business"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; IF(Len(Level = 31), 'Discarded'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FROM [lib://Books/BNBooks.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [BNBooks])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where [Date] &amp;gt; MakeDate(2004,6,30) ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;drop table Bbooks;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 03:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-tables-separately-merge-to-one-table-then-drop-two-separate/m-p/1514572#M36678</guid>
      <dc:creator>AntonioB</dc:creator>
      <dc:date>2018-11-30T03:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Load tables separately, merge to one table, then drop two separate tables</title>
      <link>https://community.qlik.com/t5/App-Development/Load-tables-separately-merge-to-one-table-then-drop-two-separate/m-p/1514584#M36680</link>
      <description>&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Wbooks:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"Title" AS "WB Title",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"Business" AS "WB Business"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;IF(Len(Level) = 13, 'Discarded') as Flag&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM [lib://Books/WBBooks.xlsx]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is [WBBooks])&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Where [Date] &amp;lt; MakeDate(2011,8,1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bbooks:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"Title" AS "BN Title",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"Business" AS "BN Business"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;IF(Len(Level) = 31, 'Discarded') as Flag&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM [lib://Books/BNBooks.xlsx]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is [BNBooks])&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Where [Date] &amp;gt; MakeDate(2004,6,30);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;LET vStart = 1;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LET vEnd = 3;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Single_file:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD '' AS Single_file.Field1,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;'' AS Single_file.Field2&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;AutoGenerate(0);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FOR index = vStart TO vEnd&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Concatenate(Single_file)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Load&amp;nbsp;*&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM [lib://Books/*.xlsx]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(ooxml, embedded labels, header is 10 lines, table is [$(index)]);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NEXT index&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 04:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-tables-separately-merge-to-one-table-then-drop-two-separate/m-p/1514584#M36680</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-11-30T04:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Load tables separately, merge to one table, then drop two separate tables</title>
      <link>https://community.qlik.com/t5/App-Development/Load-tables-separately-merge-to-one-table-then-drop-two-separate/m-p/1514615#M36685</link>
      <description>&lt;P&gt;It would look like:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Final:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;NoConcatenate&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD * Resident Wbooks;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Concatenate (Final)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD * Resident Bbooks;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Drop Tables Wbooks, Bbooks;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 06:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-tables-separately-merge-to-one-table-then-drop-two-separate/m-p/1514615#M36685</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-11-30T06:22:33Z</dc:date>
    </item>
  </channel>
</rss>

