<?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: Error while concatenating the data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247180#M849986</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 tried changing the code as you have specified. But observed the old data is being cleared off in old QVD. only the new data gets loaded.Any idea on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Mar 2017 06:44:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-03-22T06:44:23Z</dc:date>
    <item>
      <title>Error while concatenating the data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247170#M849976</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;Iam looking for logic where iam trying to append the data into QVD file.&lt;/P&gt;&lt;P&gt;I will have the new file every hour or day which will be replaced with existing one.&lt;/P&gt;&lt;P&gt;I have a file which has data as below:&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: for 10.3.2017 (Samplefile.xlsx)&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 274px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="32"&gt;Sno&lt;/TD&gt;&lt;TD class="xl64" width="48"&gt;Name&lt;/TD&gt;&lt;TD class="xl64" width="44"&gt;IC&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;Date&lt;/TD&gt;&lt;TD class="xl64" width="86"&gt;CardNumber&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;7&lt;/TD&gt;&lt;TD&gt;XXX&lt;/TD&gt;&lt;TD align="right"&gt;123&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;10-03-17&lt;/TD&gt;&lt;TD align="right"&gt;123456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;8&lt;/TD&gt;&lt;TD&gt;YYY&lt;/TD&gt;&lt;TD align="right"&gt;456&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;10-03-17&lt;/TD&gt;&lt;TD align="right"&gt;976544&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next day Ex: 11.3.2017&lt;SPAN style="font-size: 13.3333px;"&gt;(Samplefile.xlsx)&lt;/SPAN&gt; i received a file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="108" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 293px; height: 111px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="text-align: left; vertical-align: baseline;" width="32"&gt;Sno&lt;/TD&gt;&lt;TD class="xl64" style="text-align: left; vertical-align: baseline;" width="48"&gt;Name&lt;/TD&gt;&lt;TD class="xl64" style="text-align: left; vertical-align: baseline;" width="44"&gt;IC&lt;/TD&gt;&lt;TD class="xl64" style="text-align: left; vertical-align: baseline;" width="64"&gt;Date&lt;/TD&gt;&lt;TD class="xl64" style="text-align: left; vertical-align: baseline;" width="86"&gt;CardNumber&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="text-align: left; vertical-align: baseline;"&gt;1&lt;/TD&gt;&lt;TD style="text-align: left; vertical-align: baseline;"&gt;XXX&lt;/TD&gt;&lt;TD align="right" style="text-align: left; vertical-align: baseline;"&gt;123&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left; vertical-align: baseline;"&gt;11-03-17&lt;/TD&gt;&lt;TD align="right" style="text-align: left; vertical-align: baseline;"&gt;123456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="text-align: left; vertical-align: baseline;"&gt;2&lt;/TD&gt;&lt;TD style="text-align: left; vertical-align: baseline;"&gt;YYY&lt;/TD&gt;&lt;TD align="right" style="text-align: left; vertical-align: baseline;"&gt;456&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left; vertical-align: baseline;"&gt;11-03-17&lt;/TD&gt;&lt;TD align="right" style="text-align: left; vertical-align: baseline;"&gt;976544&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20" style="text-align: left; vertical-align: baseline;"&gt;3&lt;/TD&gt;&lt;TD style="text-align: left; vertical-align: baseline;"&gt;ZZZ&lt;/TD&gt;&lt;TD align="right" style="text-align: left; vertical-align: baseline;"&gt;676&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left; vertical-align: baseline;"&gt;11-03-17&lt;/TD&gt;&lt;TD align="right" style="text-align: left; vertical-align: baseline;"&gt;678678&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I need to concatenate /append the data into 1 QVD file.&lt;/P&gt;&lt;P&gt;Created a TempQvd and tried to merge into 1 QVD, but i recevie the &lt;STRONG&gt;error&lt;/STRONG&gt; : &lt;STRONG&gt;Table not Found&lt;/STRONG&gt;. Concatenate(Append Data) Load * from Transactions.qvd.&lt;/P&gt;&lt;P&gt;Logic is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vTransqvdExists = QVDpath;&lt;/P&gt;&lt;P&gt;LOAD * FROM Samplefile.xlsx;&lt;/P&gt;&lt;P&gt;If $(vTransqvdExists) then&lt;/P&gt;&lt;P&gt; //if exists&lt;/P&gt;&lt;P&gt;&amp;nbsp; Store Trans into Transactions.qvd; &lt;/P&gt;&lt;P&gt;&amp;nbsp; Temptrans:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD * from Transactions.qvd;&lt;/P&gt;&lt;P&gt;&amp;nbsp; STORE Temptrans into tempTrans.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; AppendData: &lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD * FROM tempTrans.qvd;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Concatenate (AppendData)&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD * from Transactions.qvd; &lt;/P&gt;&lt;P&gt;&amp;nbsp; STORE AppendData into Transactions.qvd; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;//First time this qvd is created&lt;/P&gt;&lt;P&gt;Store Trans into Transactions.qvd;&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest where the code is wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;sudhakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247170#M849976</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating the data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247171#M849977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are probably facing a so-called AUTOCONCATENATE, performed by QlikView whenever you don't really want one. I guess that the LOAD for AppendData will actually concatenate all data to table Temptrans, just because the tables look similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add a &lt;SPAN style="font-family: 'courier new', courier;"&gt;DROP Table Temptrans;&lt;/SPAN&gt; statement before loading AppendData&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 08:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247171#M849977</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-03-21T08:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating the data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247172#M849978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="font-size: 10pt;"&gt;Sudhakar,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried something like this :&lt;/P&gt;&lt;P&gt;---------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Transactions&lt;/SPAN&gt;.QVD;&amp;nbsp; // Old data is stored here&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Samplefile.xlsx;&amp;nbsp;&amp;nbsp; // you get your data from the new xlsx file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE sample into Transactions.QVD; // finally you store the concatenation in the QVD file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can improve this code. It's just a little suggestion.&lt;/P&gt;&lt;P&gt;Yours&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 09:01:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247172#M849978</guid>
      <dc:creator />
      <dc:date>2017-03-21T09:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating the data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247173#M849979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply.&lt;/P&gt;&lt;P&gt;I added the drop statement before &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;AppendData:&lt;/SPAN&gt; . No Error. But only the latest file (new file) data is loaded.&lt;/P&gt;&lt;P&gt;previous data is not appended.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 09:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247173#M849979</guid>
      <dc:creator />
      <dc:date>2017-03-21T09:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating the data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247174#M849980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your actual script here? The one you posted under "Logic is as below" doesn't appear complete to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 09:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247174#M849980</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-03-21T09:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating the data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247175#M849981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyway, a role model could be (no prior loads needed, SampleFile.xlsx &lt;EM&gt;must&lt;/EM&gt; exist, Transactions.qvd may exist or not):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LET vPrefix = 'Trans:';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;IF Not IsNull(FileTime('Transactions.qvd')) THEN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; LET vPrefix = 'CONCATENATE (Trans)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; Trans:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; LOAD * FROM Transactions.qvd (qvd); // Load historical data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;END IF&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$(vPrefix)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD * FROM SampleFile.xlsx (ooxml, ...); // Adjust the options&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;STORE Trans INTO Transactions.qvd (qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DROP Table Treansactions;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adjust&amp;nbsp; the script according to your needs and actual file names and paths.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 09:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247175#M849981</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-03-21T09:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating the data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247176#M849982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;below is the script:&lt;/P&gt;&lt;P&gt;SET qvdTransRoot = 'G:\QPublish\Transactions.qvd';&lt;/P&gt;&lt;P&gt;FOR Each File in FileList ('$(vRoot)'&amp;amp;'CardTransactionDataFeb16_*.xlsx')&lt;/P&gt;&lt;P&gt;&amp;nbsp; SET vFileName = '$(File)';&lt;/P&gt;&lt;P&gt;NEXT File&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Check if File exists&lt;/P&gt;&lt;P&gt;LET vFileExists = if(FileSize('$(vFileName)') &amp;gt; 0,1,0);&lt;/P&gt;&lt;P&gt;LET vTransqvdExists = if(FileSize('$(qvdTransRoot)') &amp;gt; 0,1,0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Trans]:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;[Card No], &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sno, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Door, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AccessTime, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Card Holder], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NRIC, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Floor, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeHour, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verification, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Transaction &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(vFileName)&lt;/P&gt;&lt;P&gt;&amp;nbsp; (ooxml, embedded labels, table is [Transactions]);&lt;/P&gt;&lt;P&gt;&amp;nbsp; Inner Join (Trans)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Card No], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Title, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;Department, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Division&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;G&gt;&lt;/G&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; (ooxml, embedded labels, table is UserRefData);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If $(vTransqvdExists) then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//New Data&lt;/P&gt;&lt;P&gt;&amp;nbsp; Store Trans into G:\QPublish\Transactions.qvd;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Temptrans:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD * from G:\QPublish\Transactions.qvd;&lt;/P&gt;&lt;P&gt;&amp;nbsp; STORE Temptrans into &lt;G&gt;(qvd);&amp;nbsp; //To store Old Data&lt;/G&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DROP table Temptrans;&lt;/P&gt;&lt;P&gt;&amp;nbsp; AppendData:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD * FROM &lt;G&gt;(qvd);&amp;nbsp;&amp;nbsp;&amp;nbsp; //Old Data&lt;/G&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Concatenate (AppendData)&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD * from G:\QPublish\Transactions.qvd;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;//New Data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Store &lt;SPAN style="font-size: 13.3333px;"&gt;AppendData&lt;/SPAN&gt; into G:\QPublish\Transactions.qvd; &lt;/P&gt;&lt;P&gt; ELSE&lt;/P&gt;&lt;P&gt;&amp;nbsp; Store Trans into G:\QPublish\Transactions.qvd;&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 10:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247176#M849982</guid>
      <dc:creator />
      <dc:date>2017-03-21T10:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating the data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247177#M849983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The file name scanning code at the beginning of your script, what is it used for? The code actually picks out the last file in a possible series of files with similar names, but the order will be unpredictable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And - if you have four source files that fit the file name mask - you only use the last one. What should happen with the others?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 10:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247177#M849983</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-03-21T10:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating the data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247178#M849984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;this code : looks for the xlsx file - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;CardTransactionDataFeb16&lt;/SPAN&gt;_0001.&amp;nbsp; Now that we are in development phase, probably later we might have 2 files coming in like &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;CardTransactionDataFeb16&lt;/SPAN&gt;_0002.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;FOR Each File in FileList ('$(vRoot)'&amp;amp;'CardTransactionDataFeb16_*.xlsx')&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp; SET vFileName = '$(File)';&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;NEXT File&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;but for now we are having only 1 file with that name and no issues with filenames.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 10:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247178#M849984</guid>
      <dc:creator />
      <dc:date>2017-03-21T10:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating the data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247179#M849985</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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;//New Data&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; Store Trans into G:\QPublish\Transactions.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; Temptrans:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; LOAD * from G:\QPublish\Transactions.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; STORE Temptrans into &lt;G&gt;(qvd);&amp;nbsp; //To store Old Data&lt;/G&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If we see the above code,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1. New data is loaded into Trans table&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2. Trans table data is stored into Transactions.qvd. &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3. Now the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Transactions.qvd&lt;/SPAN&gt; data is overrided with new data.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;4. Again you are pulling the data from &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Transactions.qvd&lt;/SPAN&gt; into &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;tempTrans.qvd&lt;/SPAN&gt;, which will be new data only.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The old data is already lost at step 2.The code should be modified as shown below. Try once&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;//To store Old Data&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Temptrans:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; LOAD * from G:\QPublish\Transactions.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; STORE Temptrans into &lt;G&gt;(qvd);&amp;nbsp; &lt;/G&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;//New Data&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; Store Trans into G:\QPublish\Transactions.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 12:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247179#M849985</guid>
      <dc:creator />
      <dc:date>2017-03-21T12:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating the data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247180#M849986</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 tried changing the code as you have specified. But observed the old data is being cleared off in old QVD. only the new data gets loaded.Any idea on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 06:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247180#M849986</guid>
      <dc:creator />
      <dc:date>2017-03-22T06:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating the data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247181#M849988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudhakar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Can you try the below code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;If $(vTransqvdExists) then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;//New Data&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt; Concatenate(Trans)&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt; LOAD * from G:\QPublish\Transactions.qvd;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Store &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Trans&lt;/SPAN&gt; into G:\QPublish\Transactions.qvd;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;ELSE&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp; Store Trans into G:\QPublish\Transactions.qvd;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;ENDIF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 07:54:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247181#M849988</guid>
      <dc:creator />
      <dc:date>2017-03-22T07:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating the data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247182#M849990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sandhya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This codes works. Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 08:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247182#M849990</guid>
      <dc:creator />
      <dc:date>2017-03-22T08:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error while concatenating the data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247183#M849991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 08:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-while-concatenating-the-data/m-p/1247183#M849991</guid>
      <dc:creator />
      <dc:date>2017-03-22T08:46:12Z</dc:date>
    </item>
  </channel>
</rss>

