<?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 Loading tables from another Qlikview Document in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-tables-from-another-Qlikview-Document/m-p/546469#M1134149</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;I want to load some tables from another Qlikview document. I am aware you could do a binary load for this, but I only want to load say 2 out of 20 tables, and therefore would have to write 18 drop table statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the best way to do this to generate QVD's of the data I want to extract from the 'other' Qlikview document? Or can in my script write something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Load [Tablex] from filename.qvw'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doug&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Nov 2013 19:34:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-19T19:34:04Z</dc:date>
    <item>
      <title>Loading tables from another Qlikview Document</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-tables-from-another-Qlikview-Document/m-p/546469#M1134149</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;I want to load some tables from another Qlikview document. I am aware you could do a binary load for this, but I only want to load say 2 out of 20 tables, and therefore would have to write 18 drop table statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the best way to do this to generate QVD's of the data I want to extract from the 'other' Qlikview document? Or can in my script write something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Load [Tablex] from filename.qvw'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doug&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 19:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-tables-from-another-Qlikview-Document/m-p/546469#M1134149</guid>
      <dc:creator />
      <dc:date>2013-11-19T19:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Loading tables from another Qlikview Document</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-tables-from-another-Qlikview-Document/m-p/546470#M1134150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the attached QVW to generate QVDs of all the tables.&amp;nbsp; This is the fastest way to get at a few tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your other alternative would be to do a binary load and then drop the tables you don't want.&amp;nbsp; This would only make sense if you want almost all the tables from the source QVW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 20:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-tables-from-another-Qlikview-Document/m-p/546470#M1134150</guid>
      <dc:creator>Josh_Good</dc:creator>
      <dc:date>2013-11-19T20:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Loading tables from another Qlikview Document</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-tables-from-another-Qlikview-Document/m-p/546471#M1134151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Doug Thorp wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Is the best way to do this to generate QVD's of the data I want to extract from the 'other' Qlikview document? Or can in my script write something like&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;'Load [Tablex] from filename.qvw'&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi Doug,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot load individual tables from another QVW. The best approach is to generate QVDs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively you could loop through the loaded tables automatically and drop them that way, e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Binary [test.qvw];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET ThousandSep=',';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET DecimalSep='.';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET MoneyThousandSep=',';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET MoneyDecimalSep='.';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET MoneyFormat='£#,##0.00;-£#,##0.00';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET TimeFormat='hh:mm:ss';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET DateFormat='DD/MM/YYYY';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET TimestampFormat='DD/MM/YYYY hh:mm:ss[.fff]';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let n = NoOfTables();&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;for x = 1 to $(n)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; let t = TableName(0); &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; drop table [$(t)];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;next&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could wrap the drop table command in an IF statement to exclude the tables you want to keep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 20:23:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-tables-from-another-Qlikview-Document/m-p/546471#M1134151</guid>
      <dc:creator />
      <dc:date>2013-11-19T20:23:03Z</dc:date>
    </item>
  </channel>
</rss>

