<?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: STORE a large QV model in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584543#M216978</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It ain't possible to store a data model per se. You'll have to store each table in a qvd. The only way you could "store a data model" would be to load all the tables in a qvw while using WHERE and EXISTS to apply your restrictions. Then save the qvw and import the "ready" data model using Binary loads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only other way would be to join all tables and store a single qvd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are no alternative to those methods as far as I know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jan 2014 15:21:48 GMT</pubDate>
    <dc:creator>Carlos_Reyes</dc:creator>
    <dc:date>2014-01-29T15:21:48Z</dc:date>
    <item>
      <title>STORE a large QV model</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584542#M216977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to store a large QV model with 2 main fact tables, 1 linker table&amp;nbsp; and about 10 dimension tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't need the majority of the fields (nor some of the tables).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best way to STORE the model while excluding some fields, several tables and a where clause to restrict what gets stored?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to STORE a binary load, after droping fields and tables and adding a where clause? I am trying to avoid having to JOIN all the tables manually to get my STORED table, rather than using QlikViews natural key joins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584542#M216977</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2014-01-29T15:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: STORE a large QV model</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584543#M216978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It ain't possible to store a data model per se. You'll have to store each table in a qvd. The only way you could "store a data model" would be to load all the tables in a qvw while using WHERE and EXISTS to apply your restrictions. Then save the qvw and import the "ready" data model using Binary loads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only other way would be to join all tables and store a single qvd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are no alternative to those methods as far as I know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:21:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584543#M216978</guid>
      <dc:creator>Carlos_Reyes</dc:creator>
      <dc:date>2014-01-29T15:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: STORE a large QV model</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584544#M216979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;If I'm understanding you correctly, you want to store tables from a separate QVW into QVDs by using binary load?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you suggest will work just fine.&amp;nbsp; Perform a binary load, then use "DROP Fields" and "DROP Tables" statements to remove the fields and tables that you don't want.&amp;nbsp; After that, just use "STORE ... into ..." to store the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to restrict the rows by some field, you can do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Keep(SomeTable)&lt;/P&gt;&lt;P&gt;OtherTable:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RestrictingField&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SomeTable&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RestrictingField = Criterion&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;DROP Table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OtherTable&lt;/P&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;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:30:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584544#M216979</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-29T15:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: STORE a large QV model</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584545#M216980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/134560"&gt;Carlos Alberto Reyes Díaz&lt;/A&gt; is also right about the Binary load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the QVW to store the entire model and then use another binary load to import the whole model all at once instead of several QVDs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:32:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584545#M216980</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-29T15:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: STORE a large QV model</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584546#M216981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Is it possible to STORE a binary load, after dropping fields and tables and adding a where clause? &lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. Binary load the source model. Use DROP FIELDS and DROP&amp;nbsp; TABLES statements to remove entire fields/tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To remove rows (the WHERE clause) us INNER JOIN. For example, if the list of values to be kept is known:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN (Facts) LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;2014&lt;/P&gt;&lt;P&gt;2013&lt;/P&gt;&lt;P&gt;2012&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need a true where -- for something like less than, use a self INNER JOIN like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN (Facts) LOAD Year RESIDENT FACTS &lt;/P&gt;&lt;P&gt;WHERE Year &amp;gt;= Year(today())-2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can follow that up with some KEEP statements against the Dim tables to make them match the Facts if necessary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584546#M216981</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-01-29T15:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: STORE a large QV model</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584547#M216982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Thanks Rob. Sorry new to STORE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I still have to Store each table independently right? What I really want is to imitate what I could get from a straight table (which obviously brings in fields across many tables) but since it would be way to large I need to use a STORE command. A straight table would pull fields across different tables - I don't see how that can be done in a store command since it requires a specific table to be stored.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584547#M216982</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2014-01-29T15:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: STORE a large QV model</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584548#M216983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeff - my main issue is I want to have one text file in the end that can be loaded into SAS. It looks like what you are suggesting would create separate text files?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584548#M216983</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2014-01-29T15:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: STORE a large QV model</title>
      <link>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584549#M216984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, that's a horse of a different color.&amp;nbsp; There's no magic bullet here.&amp;nbsp; You'll need to join them individually in the script.&amp;nbsp; Your other option is to do some messy macro and batch automation that exports a straight table out from a QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do it in the load script, you can binary load the other QVW, then:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Either use one of the fact tables or create a new table from either of the two&lt;/LI&gt;&lt;LI&gt;Use {Left | Inner | Right} Join(TableName) to join all the fields that you want to the new table&lt;/LI&gt;&lt;LI&gt;Use STORE TableName into FileName.txt (txt); to store the table.&lt;/LI&gt;&lt;LI&gt;DROP the table&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it would look something like this (assuming you create a new table):&lt;/P&gt;&lt;P&gt;Binary ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NewTable:&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;&amp;nbsp; &lt;EM&gt;fields...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fact1&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;criteria&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join(NewTable)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;fields...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fact2&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;criteria&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(NewTable)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NewTable&lt;/P&gt;&lt;P&gt;into&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NewTable.txt (txt)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;DROP Table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NewTable&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 16:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/STORE-a-large-QV-model/m-p/584549#M216984</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-29T16:30:38Z</dc:date>
    </item>
  </channel>
</rss>

