<?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: Multi Load in one store in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847456#M660118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I came to send my script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2015 11:04:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-16T11:04:06Z</dc:date>
    <item>
      <title>Multi Load in one store</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847450#M660112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I need to make some LOAD in one Store. I made a loop for to load everything I need but my STORE only take the last one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have some ideas to fix that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CONVERT:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; A as Country_Code,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; M as User_Id,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; N as Password,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; E as Refresh_Group&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM AAA.xlsx (ooxml, no labels, table is DATA)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where E = 'X';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for e = 1 to FieldValueCount('Refresh_Group')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; for m = 1 to FieldValueCount('Country_Code');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; let vUserId = FieldValue('User_Id', $(m));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; let vPassword = FieldValue('Password', $(m));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; let vCountryCode = FieldValue('Country_Code', $(m));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YourTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD * FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="ftp://$(vUserId):$(vPassword)@11.111.11.111/DV/AAA" rel="nofollow"&gt;ftp://$(vUserId):$(vPassword)@11.111.11.111/DV/AAA&lt;/A&gt;&lt;SPAN&gt; - $(vCountryCode) - AAA.xlsx]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (txt, codepage is 1252, embedded labels, delimiter is ';', no quotes, table is Feuil1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //STORE CONVERT into TABLESv2/AAA.qvd(qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vUserId = '0';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; let vPassword = '0';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NEXT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NEXT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;STORE &lt;STRONG style="font-size: 13.3333330154419px;"&gt;CONVERT &lt;/STRONG&gt;into TABLESv2/AAA.qvd(qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 10:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847450#M660112</guid>
      <dc:creator />
      <dc:date>2015-04-16T10:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Load in one store</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847451#M660113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;put the store command outside the loop. My guess is you are storing on the same file in every loop. Otherwise share your script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 10:27:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847451#M660113</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-04-16T10:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Load in one store</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847452#M660114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's the same thing outside the loop, it only take the last one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 10:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847452#M660114</guid>
      <dc:creator />
      <dc:date>2015-04-16T10:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Load in one store</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847453#M660115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need to share your script otherwise we cannot really help you by guessing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 10:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847453#M660115</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-04-16T10:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Load in one store</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847454#M660116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is everything loaded into one table before you store it? Store can only export from one data table, unless you join the tables explicitly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 10:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847454#M660116</guid>
      <dc:creator>Ralf-Narfeldt</dc:creator>
      <dc:date>2015-04-16T10:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Load in one store</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847455#M660117</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;Are you dropping the last table stored.&lt;/P&gt;&lt;P&gt;Within your loop and after storing the table your have to DROP TABLE dynamically&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 10:54:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847455#M660117</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-04-16T10:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Load in one store</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847456#M660118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I came to send my script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 11:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847456#M660118</guid>
      <dc:creator />
      <dc:date>2015-04-16T11:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Load in one store</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847457#M660119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do all qvds have the same fields?&lt;/P&gt;&lt;P&gt;create the table outside the script with a dummy field for example :&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;YourTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load null() as dummy&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;autogenerate(0);&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use concatenate like this in the loop :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;YourTable)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load....&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 15:35:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847457#M660119</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-04-16T15:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Load in one store</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847458#M660120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, you are storing CONVERT which was loaded at the beginning, before the loop, so that would only store once.&lt;/P&gt;&lt;P&gt;Inside the loop you are creating YourTable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to create several similar tables in a loop and store them individually, here's an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For counter = 1 to 3&lt;/P&gt;&lt;P&gt;&amp;nbsp; set filename=x$(counter).qvd;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Table1:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Load $(counter) As loop_pass autogenerate 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Store Table1 into $(filename) (qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp; Drop table Table1;&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will create 3 qvd files (x1, x2, x3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As was said before, you need to drop the table in the loop before generating it again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 05:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Load-in-one-store/m-p/847458#M660120</guid>
      <dc:creator>Ralf-Narfeldt</dc:creator>
      <dc:date>2015-04-17T05:19:48Z</dc:date>
    </item>
  </channel>
</rss>

