<?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 store into qvd in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329522#M121278</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 am using for loop in my script and am storing into qvd based on iterations&lt;/P&gt;&lt;P&gt;But qvd have only one value because of overwriting &lt;/P&gt;&lt;P&gt;Is there any way to avoid overwriting &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script is looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i=1 to 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let var1=fieldvalue('custID',$(i));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tmp1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load category,count(caseid) as caseid_count&lt;/P&gt;&lt;P&gt;from hpd.qvd where custID='$(var1)' group by category;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp2:&lt;/P&gt;&lt;P&gt;first 5 load caseid_count,category&lt;/P&gt;&lt;P&gt;resident Tmp1;&lt;/P&gt;&lt;P&gt;drop table Tmp1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;tmp3:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load stdev(caseid_count) as cat_std&lt;/P&gt;&lt;P&gt;resident tmp2;&lt;/P&gt;&lt;P&gt;drop table tmp2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load region,count(caseid) as caseid_count&lt;/P&gt;&lt;P&gt;from hpd.qvd where custID='$(var1)' group by region;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg2:&lt;/P&gt;&lt;P&gt;first 5 load caseid_count,region&lt;/P&gt;&lt;P&gt;resident reg1;&lt;/P&gt;&lt;P&gt;drop table reg1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;reg3:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load stdev(caseid_count) as cat_std&lt;/P&gt;&lt;P&gt;resident reg2;&lt;/P&gt;&lt;P&gt;drop table reg2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cons:// trying to store red highlighted table into qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * ,'' as i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resident tmp3;&lt;/P&gt;&lt;P&gt;drop table tmp3;&lt;/P&gt;&lt;P&gt;drop field i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * ,'' as i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resident reg3;&lt;/P&gt;&lt;P&gt;drop table reg3;&lt;/P&gt;&lt;P&gt;drop field i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store cons into cons.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sivaraj S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2012 13:49:06 GMT</pubDate>
    <dc:creator>sivarajs</dc:creator>
    <dc:date>2012-05-30T13:49:06Z</dc:date>
    <item>
      <title>store into qvd</title>
      <link>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329522#M121278</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 am using for loop in my script and am storing into qvd based on iterations&lt;/P&gt;&lt;P&gt;But qvd have only one value because of overwriting &lt;/P&gt;&lt;P&gt;Is there any way to avoid overwriting &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script is looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i=1 to 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let var1=fieldvalue('custID',$(i));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tmp1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load category,count(caseid) as caseid_count&lt;/P&gt;&lt;P&gt;from hpd.qvd where custID='$(var1)' group by category;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmp2:&lt;/P&gt;&lt;P&gt;first 5 load caseid_count,category&lt;/P&gt;&lt;P&gt;resident Tmp1;&lt;/P&gt;&lt;P&gt;drop table Tmp1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;tmp3:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load stdev(caseid_count) as cat_std&lt;/P&gt;&lt;P&gt;resident tmp2;&lt;/P&gt;&lt;P&gt;drop table tmp2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load region,count(caseid) as caseid_count&lt;/P&gt;&lt;P&gt;from hpd.qvd where custID='$(var1)' group by region;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg2:&lt;/P&gt;&lt;P&gt;first 5 load caseid_count,region&lt;/P&gt;&lt;P&gt;resident reg1;&lt;/P&gt;&lt;P&gt;drop table reg1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;reg3:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load stdev(caseid_count) as cat_std&lt;/P&gt;&lt;P&gt;resident reg2;&lt;/P&gt;&lt;P&gt;drop table reg2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cons:// trying to store red highlighted table into qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * ,'' as i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resident tmp3;&lt;/P&gt;&lt;P&gt;drop table tmp3;&lt;/P&gt;&lt;P&gt;drop field i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * ,'' as i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resident reg3;&lt;/P&gt;&lt;P&gt;drop table reg3;&lt;/P&gt;&lt;P&gt;drop field i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store cons into cons.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sivaraj S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 13:49:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329522#M121278</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-05-30T13:49:06Z</dc:date>
    </item>
    <item>
      <title>store into qvd</title>
      <link>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329523#M121279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Check by changing this part &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;load * ,'' as i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;resident tmp3;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;drop table tmp3;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;drop field i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;load * ,'' as i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;resident reg3;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;drop table reg3;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;drop field i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;store cons into cons.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;load * ,'' as i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;resident tmp3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;load * ,'' as i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;resident reg3;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;drop field tmp3;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;drop table reg3;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;drop field i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;store cons into cons.qvd(qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 14:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329523#M121279</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-05-30T14:17:00Z</dc:date>
    </item>
    <item>
      <title>store into qvd</title>
      <link>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329524#M121280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;- first step, create a inline tabelle for the iteration&lt;/P&gt;&lt;P&gt;cons:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cat_std&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- second step,Bevor you load data in cons, you have to create&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cons_temp:&lt;/P&gt;&lt;P&gt;load * ,'' as i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resident tmp3;&lt;/P&gt;&lt;P&gt;drop table tmp3;&lt;/P&gt;&lt;P&gt;drop field i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * ,'' as i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resident reg3;&lt;/P&gt;&lt;P&gt;drop table reg3;&lt;/P&gt;&lt;P&gt;drop field i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-third step&lt;/P&gt;&lt;P&gt;concatenate(cons)&lt;/P&gt;&lt;P&gt;load * resident cons_temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table cons_temp;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store cons into cons.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope my solution can help u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 14:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329524#M121280</guid>
      <dc:creator>yvesqlik</dc:creator>
      <dc:date>2012-05-30T14:17:07Z</dc:date>
    </item>
    <item>
      <title>store into qvd</title>
      <link>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329525#M121281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; @chelambu still it overwriting not storing as different rows in qvd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 14:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329525#M121281</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-05-30T14:40:05Z</dc:date>
    </item>
    <item>
      <title>store into qvd</title>
      <link>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329526#M121282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before you store into QVD, can't you load the prior QVD and concatenate it to your final table before storing it again as a QVD?&amp;nbsp; This is the approach I usually use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 14:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329526#M121282</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-30T14:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: store into qvd</title>
      <link>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329527#M121283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First, it seems that you introduce the new field "i" in "cons" in order to avoid the automatic concatenation. In this case you can use the NoConcatenate key word before your load instruction instead, you have not do drop the fake field then.&lt;/P&gt;&lt;P&gt;But, for your problem, I think that you better had to store "cons" after the loop and to concatenate into "cons" in the loop.&lt;/P&gt;&lt;P&gt;You can avoid using tmp1 and tmp2 by using preceding load like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tmp1:&lt;/P&gt;&lt;P&gt;first 5 load caseid_count,category ;&lt;/P&gt;&lt;P&gt;load category,count(caseid) as caseid_count&lt;/P&gt;&lt;P&gt;from hpd.qvd where custID='$(var1)' group by category;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I don't understand the end of your script, for my point of view tmp3 and reg3 have the same structure so QV should concatenate reg3 into tmp3.&lt;/P&gt;&lt;P&gt;And, why are you joining (it means outer join in this case) the 2 tables in cons.&lt;/P&gt;&lt;P&gt;It's a bit confusing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For me, you have to test the value of i (the loop index), if it's the first row use NoConcatenate before the Load instruction for "cons".&lt;/P&gt;&lt;P&gt;Then for the next iteration, use Concatenate(cons).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like that (but for me tmp3 and reg3 and the join are not clear, but it's the idea) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;for i=1 to 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let var1=fieldvalue('custID',$(i));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tmp1:&lt;/P&gt;&lt;P&gt;first 5 load caseid_count,category ;&lt;/P&gt;&lt;P&gt;load category,count(caseid) as caseid_count&lt;/P&gt;&lt;P&gt;from hpd.qvd where custID='$(var1)' group by category;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;tmp3:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;noconcatenate load stdev(caseid_count) as cat_std&lt;/P&gt;&lt;P&gt;resident Tmp1;&lt;/P&gt;&lt;P&gt;drop table Tmp1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg1:&lt;/P&gt;&lt;P&gt;first 5 load caseid_count,region ;&lt;/P&gt;&lt;P&gt;load region,count(caseid) as caseid_count&lt;/P&gt;&lt;P&gt;from hpd.qvd where custID='$(var1)' group by region;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;reg3:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;noconcatenate load stdev(caseid_count) as cat_std&lt;/P&gt;&lt;P&gt;resident reg2;&lt;/P&gt;&lt;P&gt;drop table reg2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i = 1 then&lt;/P&gt;&lt;P&gt;&amp;nbsp; cons:// trying to store red highlighted table into qvd&lt;/P&gt;&lt;P&gt;&amp;nbsp; noconcatenate load *&lt;/P&gt;&lt;P&gt;&amp;nbsp; resident tmp3;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&amp;nbsp; concatenate (cons) load *&lt;/P&gt;&lt;P&gt;&amp;nbsp; resident tmp3 ;&lt;/P&gt;&lt;P&gt;end if ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table tmp3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join (cons)&lt;/P&gt;&lt;P&gt;load * &lt;/P&gt;&lt;P&gt;resident reg3;&lt;/P&gt;&lt;P&gt;drop table reg3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;store cons into cons.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 15:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329527#M121283</guid>
      <dc:creator>vincent_ardiet</dc:creator>
      <dc:date>2012-05-30T15:33:30Z</dc:date>
    </item>
    <item>
      <title>store into qvd</title>
      <link>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329528#M121284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/sivarajs" id="jive-6492026834683260398765"&gt;Sivaraj Seeman&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You can handle this problem in 3 ways.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;1 way will be to while storing your qvds add a loop counter in qvd name so for example if you are loading when &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;for i = 1 to 5&lt;/P&gt;&lt;P&gt;store cons into cons_$(i).qvd(qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This way you will get 5 qvds and after the loop, by using &lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote"&gt; Cons_final:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; Load * from Cons_*.qvd(qvd);&lt;BR /&gt; store cons_final into cons_final.qvd(qvd);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can concatenate all of them into a 1 final qvd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;2nd way is more elegant and also easy to implement. see this sample script to see how it can be implemented for your scenario.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/LI&gt;&lt;/UL&gt;&lt;PRE class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;set check = 1;&lt;/P&gt;&lt;P&gt;for i = 1 to 5&lt;/P&gt;&lt;P&gt;t1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt; 1 as A AutoGenerate 1;&lt;/P&gt;&lt;P&gt;if $(check) &amp;lt;&amp;gt; 1 then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concatenate (t1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from t1.qvd(qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; store t1 into t1.qvd(qvd);&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; store t1 into t1.qvd(qvd);&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; endif;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DROP Table t1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set check = 0;&lt;/P&gt;&lt;P&gt; NEXT&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, what this script does is that it will check if there is already a qvd generated by for loop in current script execution, if so then it will concatenate the QVD earlier generated to just genrated table and then store. Else if for loop is executing for 1st time then it will overwrite the QVD.&lt;/P&gt;&lt;P&gt;I believe this should work for your purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;3rd way is a question from me that why don't you just save the QVD after the for loop?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; That way you will store QVD only once and it will contain data from all the instances of for loop because of&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; automatic concatenation of the tables generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, I believe these inputs should get you go. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Let me know, if any issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 19:17:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329528#M121284</guid>
      <dc:creator />
      <dc:date>2012-05-30T19:17:49Z</dc:date>
    </item>
    <item>
      <title>store into qvd</title>
      <link>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329529#M121285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@vincent n Ashutosh &lt;/P&gt;&lt;P&gt; Its working fine&lt;/P&gt;&lt;P&gt;Thanks!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sivaraj S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 05:14:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/store-into-qvd/m-p/329529#M121285</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-05-31T05:14:28Z</dc:date>
    </item>
  </channel>
</rss>

