<?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: Dynamic Concatenation of QVD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Concatenation-of-QVD/m-p/1623594#M733208</link>
    <description>&lt;P&gt;I suggest you store the year in variable, something like this:&lt;/P&gt;&lt;P&gt;Let vYear = Year(Today())&lt;/P&gt;&lt;P&gt;Let vLastYear = Year(Today())-1&lt;/P&gt;&lt;P&gt;And then simple use the variables in the load script:&lt;/P&gt;&lt;P&gt;Load * from '$(QvdPath)'\TABLE_A_$(vYear).qvd (qvd);&lt;/P&gt;&lt;P&gt;Load * from '$(QvdPath)'\TABLE_A_$(vLastYear).qvd (qvd);&lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2019 08:24:13 GMT</pubDate>
    <dc:creator>DavidM</dc:creator>
    <dc:date>2019-09-13T08:24:13Z</dc:date>
    <item>
      <title>Dynamic Concatenation of QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Concatenation-of-QVD/m-p/1623377#M733207</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Please help to achieve the below scenario. I have below code to Concatenate the Incremental QVD with the current Year and starting of the new year need to&amp;nbsp; Archive the QVD on HISTORICAL QVD. Right now this i am doing Manually once new Year is came then i am changing the QVD Name to the Current Year.&lt;/P&gt;&lt;P&gt;eg:-&lt;/P&gt;&lt;P&gt;TABLE_A_2019.qvd (qvd) is Current QVD&lt;/P&gt;&lt;P&gt;On the&amp;nbsp; 1st Jan 2020 i am going to change this name into&amp;nbsp;TABLE_A_2020.qvd (qvd) and respectively i am going to change the QVD name inside the Table B to archive the 2019 data to the Historical QVD. Can i change the QVD Name dynamically and that QVD is going to be Archive on Table B once new Year will come.&lt;/P&gt;&lt;P&gt;Note :- I cannot do concatenation on Tabke_B with &lt;STRONG&gt;Load * from '$(QvdPath)'\TABLE_A_*.qvd (qvd);&amp;nbsp;&lt;/STRONG&gt; because in my 2018 and 2019 data not having the same fields. Few fields are available on 2018 which are not available on&amp;nbsp; 2019. So i have to concatenate with specific name of the QVD only.&lt;/P&gt;&lt;P&gt;TABLE_A_2020.qvd (qvd)--&amp;gt;This I can create using the MAX Year variable from the Calendar . Only concern is how can i append the&amp;nbsp;&amp;nbsp;TABLE_A_2019.qvd (qvd) into Historical.&lt;/P&gt;&lt;P&gt;Year --&amp;gt; i can check with master calendar.&lt;/P&gt;&lt;P&gt;Please let me know if required more details.&lt;/P&gt;&lt;P&gt;TABLE_A:&lt;/P&gt;&lt;P&gt;Load * from '$(QvdPath)'\TABLE_A_2019.qvd (qvd);&lt;/P&gt;&lt;P&gt;Concatenate(TABLE_A)&lt;/P&gt;&lt;P&gt;Load * from '$(QvdPath)'\TABLE_A_CURRENT_QTR_INC_LOAD_*.qvd (qvd);&lt;/P&gt;&lt;P&gt;STORE TABLE_A into '$(QvdPath)'\TABLE_A_2019.qvd;&lt;/P&gt;&lt;P&gt;Drop Table TABLE_A;&lt;/P&gt;&lt;P&gt;TABLE_B:&lt;BR /&gt;Load * from '$(QvdPath)'\TABLE_A_2019.qvd (qvd);&lt;/P&gt;&lt;P&gt;Concatenate(TABLE_B)&lt;/P&gt;&lt;P&gt;Load * from '$(QvdPath)'\TABLE_A_2018.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;STORE TABLE_B into '$(QvdPath)'\HISTORICAL.qvd;&lt;BR /&gt;Drop Table TABLE_B;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Regards&lt;/P&gt;&lt;P&gt;Balram&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Concatenation-of-QVD/m-p/1623377#M733207</guid>
      <dc:creator>balrammahato204</dc:creator>
      <dc:date>2024-11-16T02:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Concatenation of QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Concatenation-of-QVD/m-p/1623594#M733208</link>
      <description>&lt;P&gt;I suggest you store the year in variable, something like this:&lt;/P&gt;&lt;P&gt;Let vYear = Year(Today())&lt;/P&gt;&lt;P&gt;Let vLastYear = Year(Today())-1&lt;/P&gt;&lt;P&gt;And then simple use the variables in the load script:&lt;/P&gt;&lt;P&gt;Load * from '$(QvdPath)'\TABLE_A_$(vYear).qvd (qvd);&lt;/P&gt;&lt;P&gt;Load * from '$(QvdPath)'\TABLE_A_$(vLastYear).qvd (qvd);&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 08:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Concatenation-of-QVD/m-p/1623594#M733208</guid>
      <dc:creator>DavidM</dc:creator>
      <dc:date>2019-09-13T08:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Concatenation of QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Concatenation-of-QVD/m-p/1623641#M733209</link>
      <description>&lt;P&gt;Thanks David For your response.&lt;/P&gt;&lt;P&gt;if i am applying the suggested code then i can store only two year data current and&amp;nbsp; previous. But once we reach to the 2021 i am going to loose the 2018 data. Is any other solution. I cannot create one new variable for each new year because it's again a manual task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Balram&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 09:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Concatenation-of-QVD/m-p/1623641#M733209</guid>
      <dc:creator>balrammahato204</dc:creator>
      <dc:date>2019-09-13T09:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Concatenation of QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Concatenation-of-QVD/m-p/1623674#M733210</link>
      <description>&lt;P&gt;you can use for each&lt;/P&gt;&lt;P&gt;Set vConcatenate= ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for each FileExtension in 'qvd'&lt;BR /&gt;for each FoundFile in filelist( QvdPath&amp;amp; '\TABLE_A_*.' &amp;amp; FileExtension)&lt;/P&gt;&lt;P&gt;TableA:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$(vConcatenate)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Load * from [$(FoundFile)] (qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Set vConcatenate = Concatenate;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;next FoundFile&lt;BR /&gt;next FileExtension&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//check for minor syntax things&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 11:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Concatenation-of-QVD/m-p/1623674#M733210</guid>
      <dc:creator>asinha1991</dc:creator>
      <dc:date>2019-09-13T11:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Concatenation of QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Concatenation-of-QVD/m-p/1628111#M733211</link>
      <description>&lt;P&gt;Balram, did the other post help you get what you needed here, or are you still trying to come up with a workable solution?&amp;nbsp; If the last post did work, be sure to use the Accept as Solution button to let other know that worked etc., and if you are still trying to figure things out leave an update as to where you are with things and perhaps a sample app may help here too, as these are somewhat difficult to guess what you are really doing and can impact folks being willing to offer up ideas.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only things I have to offer are a Design Blog post and Help link just in case you have not checked those:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Overview-of-Qlik-Incremental-Loading/ba-p/1466780" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Overview-of-Qlik-Incremental-Loading/ba-p/1466780&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/QVD_Incremental.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/QVD_Incremental.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Not sure either of those is what you really need, but wanted to toss them out.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 13:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Concatenation-of-QVD/m-p/1628111#M733211</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-09-25T13:18:17Z</dc:date>
    </item>
  </channel>
</rss>

