<?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: One QlikView data file = multiple QVDs in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665522#M1068572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On paper that is precisely what I want - let me try on my original application and revert.&lt;/P&gt;&lt;P&gt;I'm very optimistic &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Aug 2014 19:42:29 GMT</pubDate>
    <dc:creator>alexis</dc:creator>
    <dc:date>2014-08-27T19:42:29Z</dc:date>
    <item>
      <title>One QlikView data file = multiple QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665517#M1068567</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;In the attached QVW you will see just a single table (XX)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the fields in that table is called QVDFilename which I have constructed from other fields and it signifies (as the name implies) the QVD file that the particular row should be written to. This file has a total of 8 different QVD files&lt;/P&gt;&lt;P&gt;Can anyone thing of any way of creating these QVDs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been racking my brain and cannot find a way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*** File not empty now - Thanks Rob ****&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 18:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665517#M1068567</guid>
      <dc:creator>alexis</dc:creator>
      <dc:date>2014-08-27T18:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: One QlikView data file = multiple QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665518#M1068568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The qvw you posted is empty.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 19:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665518#M1068568</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-08-27T19:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: One QlikView data file = multiple QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665519#M1068569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob - reloaded - try now!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 19:19:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665519#M1068569</guid>
      <dc:creator>alexis</dc:creator>
      <dc:date>2014-08-27T19:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: One QlikView data file = multiple QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665520#M1068570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If all your data is contained in one table and you want to write different parts of the table to a different file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Script&lt;/P&gt;&lt;P&gt;[Data Table];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//create a string with all the file names:&lt;/P&gt;&lt;P&gt;QVDFileNames:&lt;/P&gt;&lt;P&gt;Load chr(39) &amp;amp; concat(distinct QVDFilename, chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39) as QVDFileNames&lt;/P&gt;&lt;P&gt;Resident [Data Table];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//put them in a var&lt;/P&gt;&lt;P&gt;LET vQVDFileName = Peek('QVDFileNames', 0, 'QVDFileNames');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//drop the table with file names&lt;/P&gt;&lt;P&gt;drop table QVDFileNames;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Create a loop&lt;/P&gt;&lt;P&gt;FOR Each vQVDFileName in $(vQVDFileName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Filter out the table:&lt;/P&gt;&lt;P&gt;QVDToStore:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD * Resident [Data Table] where QVDFileName = '$(vQVDFileName)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Store the sub-table into QVD&lt;/P&gt;&lt;P&gt;STORE QVDToStore into '$(vQVDFileName)'.qvd (QVD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Drop the sub table&lt;/P&gt;&lt;P&gt;DROP Table QVDToStore;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//next vQVDFileName&lt;/P&gt;&lt;P&gt;NEXT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//drop the original table&lt;/P&gt;&lt;P&gt;DROP TABLE [Data Table];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this what you're looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 19:21:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665520#M1068570</guid>
      <dc:creator />
      <dc:date>2014-08-27T19:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: One QlikView data file = multiple QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665521#M1068571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 19:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665521#M1068571</guid>
      <dc:creator />
      <dc:date>2014-08-27T19:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: One QlikView data file = multiple QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665522#M1068572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On paper that is precisely what I want - let me try on my original application and revert.&lt;/P&gt;&lt;P&gt;I'm very optimistic &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 19:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665522#M1068572</guid>
      <dc:creator>alexis</dc:creator>
      <dc:date>2014-08-27T19:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: One QlikView data file = multiple QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665523#M1068573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clay that was PERFECT.&lt;/P&gt;&lt;P&gt;Exactly what I was after - thank you very much..&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 19:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665523#M1068573</guid>
      <dc:creator>alexis</dc:creator>
      <dc:date>2014-08-27T19:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: One QlikView data file = multiple QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665524#M1068574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might need some slight tweaking, especially around the store-statement, but it should work. Let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C&amp;nbsp; ;o)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 19:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665524#M1068574</guid>
      <dc:creator />
      <dc:date>2014-08-27T19:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: One QlikView data file = multiple QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665525#M1068575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C&amp;nbsp; ;o)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 19:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-QlikView-data-file-multiple-QVDs/m-p/665525#M1068575</guid>
      <dc:creator />
      <dc:date>2014-08-27T19:53:13Z</dc:date>
    </item>
  </channel>
</rss>

