<?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: Create separate .qvd files to eventually concatenate in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Create-separate-qvd-files-to-eventually-concatenate/m-p/1671476#M50784</link>
    <description>&lt;P&gt;I think this might be a more robust solution if you are running this script multiple times a day.&lt;/P&gt;&lt;P&gt;MaxTimeTable:&lt;BR /&gt;LOAD max(Time) as MaxTime&lt;BR /&gt;FROM&amp;nbsp;&amp;nbsp;LIB://.../AllTime.qvd (qvd);&lt;/P&gt;&lt;P&gt;LET vMaxTime = peek('MaxTime', -1, 'MaxTimeTable'); //Latest transaction time&lt;/P&gt;&lt;P&gt;Data:&lt;BR /&gt;LOAD *&lt;BR /&gt;From LIB://.../24Hours.qvd (qvd)&lt;BR /&gt;Where Time &amp;gt; $(vMaxTime);&lt;/P&gt;&lt;P&gt;Concatenate (Data)&lt;BR /&gt;LOAD *&lt;BR /&gt;From&amp;nbsp;LIB://.../AllTime.qvd (qvd)&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Store Data into&amp;nbsp;LIB://.../AllTime.qvd (qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could take a look at this YouTube film:&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=GLO2UteiHQ8" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=GLO2UteiHQ8&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jan 2020 21:32:01 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2020-01-31T21:32:01Z</dc:date>
    <item>
      <title>Create separate .qvd files to eventually concatenate</title>
      <link>https://community.qlik.com/t5/App-Development/Create-separate-qvd-files-to-eventually-concatenate/m-p/1669803#M50582</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to use one qvd file to store 12 hours of data. Then at the end of 12 hours, I want to concatenate that data with another qvd file that serves as a historical data file. I'm hoping this will speed up my load time.&amp;nbsp; Can someone help me get started with this process?&amp;nbsp; How do I specify when the 12 hour data should be moved to the historical data? What are some key commands/functions others have used when doing this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:26:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-separate-qvd-files-to-eventually-concatenate/m-p/1669803#M50582</guid>
      <dc:creator>kdaniels-obrien</dc:creator>
      <dc:date>2024-11-16T03:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create separate .qvd files to eventually concatenate</title>
      <link>https://community.qlik.com/t5/App-Development/Create-separate-qvd-files-to-eventually-concatenate/m-p/1669810#M50584</link>
      <description>&lt;P&gt;I think you could be able to speed up your load. Important when doing this is to keep track on which transactions are sent to the historical qvd and which are not. Timestamps and transaction IDs are both good indicators on which data is loaded in the QVD.&lt;/P&gt;&lt;P&gt;I suggest you start reading up on a topic called &lt;EM&gt;&lt;STRONG&gt;incremental load&lt;/STRONG&gt;&lt;/EM&gt;. You will find a lot of post on incremental loads in this community, You will find a lot on the topic outside of the Qlik sphere as well, but I reccomend you stick to the Qlik related postings to begin with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 22:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-separate-qvd-files-to-eventually-concatenate/m-p/1669810#M50584</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-01-27T22:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create separate .qvd files to eventually concatenate</title>
      <link>https://community.qlik.com/t5/App-Development/Create-separate-qvd-files-to-eventually-concatenate/m-p/1671437#M50777</link>
      <description>&lt;P&gt;Would something like this in my load script achieve what I described in the post?&lt;/P&gt;&lt;P&gt;Earlier in my load script, I get the MaxTime from the last load... I want to collect data all day long and then when it is a new day, move those records from the last 24 hr qvd&amp;nbsp; to the other qvd file that has all time data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;if date(floor(MaxTime)) &amp;lt;&amp;gt; date(floor(Today())) then&lt;BR /&gt;[Last 24 Hours]:&lt;BR /&gt;LOAD *&lt;BR /&gt;from 'lib://..../24Hours.qvd' (qvd);&lt;BR /&gt;concatenate([Last 24 Hours])&lt;BR /&gt;LOAD *&lt;BR /&gt;from 'lib://.../AllTime.qvd' (qvd);&lt;BR /&gt;DROP TABLE [Last 24 Hours];&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 18:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-separate-qvd-files-to-eventually-concatenate/m-p/1671437#M50777</guid>
      <dc:creator>kdaniels-obrien</dc:creator>
      <dc:date>2020-01-31T18:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create separate .qvd files to eventually concatenate</title>
      <link>https://community.qlik.com/t5/App-Development/Create-separate-qvd-files-to-eventually-concatenate/m-p/1671476#M50784</link>
      <description>&lt;P&gt;I think this might be a more robust solution if you are running this script multiple times a day.&lt;/P&gt;&lt;P&gt;MaxTimeTable:&lt;BR /&gt;LOAD max(Time) as MaxTime&lt;BR /&gt;FROM&amp;nbsp;&amp;nbsp;LIB://.../AllTime.qvd (qvd);&lt;/P&gt;&lt;P&gt;LET vMaxTime = peek('MaxTime', -1, 'MaxTimeTable'); //Latest transaction time&lt;/P&gt;&lt;P&gt;Data:&lt;BR /&gt;LOAD *&lt;BR /&gt;From LIB://.../24Hours.qvd (qvd)&lt;BR /&gt;Where Time &amp;gt; $(vMaxTime);&lt;/P&gt;&lt;P&gt;Concatenate (Data)&lt;BR /&gt;LOAD *&lt;BR /&gt;From&amp;nbsp;LIB://.../AllTime.qvd (qvd)&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Store Data into&amp;nbsp;LIB://.../AllTime.qvd (qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could take a look at this YouTube film:&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=GLO2UteiHQ8" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=GLO2UteiHQ8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 21:32:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-separate-qvd-files-to-eventually-concatenate/m-p/1671476#M50784</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-01-31T21:32:01Z</dc:date>
    </item>
  </channel>
</rss>

