<?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: splitting single QVD data into  2 QVD's in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001751#M944289</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 ur reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are getting files on daily basis and this will be overwrite on daily basis. This is a fact table.&lt;/P&gt;&lt;P&gt;This is how my code looks like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you suggest me where do I include these functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Inserts:&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;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$(Vqvxpath)fact_site_visit_inserts.qvx(qvx);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; STORE Inserts into $(Vqvdpath)fact_site_visit.QVD(qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Inserts;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Dec 2015 09:25:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-30T09:25:15Z</dc:date>
    <item>
      <title>splitting single QVD data into  2 QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001748#M944286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to Qlikview and have requirement like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a one file and it is containing 3 months of data say May,June,July. I have to create QVD name as &lt;STRONG&gt;last3months.QVD&lt;/STRONG&gt; based on incremental load. I am fine up to here. Suppose if data comes in August I have to show only June,July and August data in &lt;STRONG&gt;last3months.QVD&lt;/STRONG&gt;. That &lt;STRONG&gt;May month&lt;/STRONG&gt; data should be go to &lt;STRONG&gt;History.QVD&lt;/STRONG&gt;. In same way I have to see only latest last 3 months data in &lt;STRONG&gt;last3months.QVD &lt;/STRONG&gt;and rest of data in&lt;STRONG&gt; &lt;STRONG&gt;History.QVD.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please see the below example.&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;Current.QVD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; History.QVD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;June&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; May&lt;/P&gt;&lt;P&gt;July&lt;/P&gt;&lt;P&gt;August&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;Current.QVD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; History.QVD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;July&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; May&lt;/P&gt;&lt;P&gt;Aug&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; June&lt;/P&gt;&lt;P&gt;September&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;Current.QVD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; History.QVD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;August&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; May&lt;/P&gt;&lt;P&gt;September&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; June&lt;/P&gt;&lt;P&gt;October&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; July&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like wise i have to achieve.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please help me how to achieve this requirement. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 08:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001748#M944286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-30T08:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: splitting single QVD data into  2 QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001749#M944287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Juist a guideline that may help you start thinking about an approach. Try to keep it as simple as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Load Current.QVD and History.QVD (if they are available) into the same internal table.&lt;/LI&gt;&lt;LI&gt;From your data source (possibly a DBMS), add all records that are newer than the most recent one in your internal table. If the internal table doesn't exist yet, or it doesn't contain any records (use NoOfRows() to check for this situation), set the starting date to a long time ago (&lt;SPAN style="text-decoration: line-through;"&gt;in a galaxy far away&lt;/SPAN&gt;)&lt;/LI&gt;&lt;LI&gt;Save all records that are not older than AddMonths(MonthStart(Today()), -2) to Current.QVD, thereby overwriting the file.&lt;/LI&gt;&lt;LI&gt;Likewise, save all records that are older than &lt;SPAN style="font-size: 13.3333px;"&gt;AddMonths(MonthStart(Today()), -2) to History.QVD.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This approach will allow you to start with nothing (no Current.QVD or History.QVD), and covers interruptions (you forget to reload for one or more months) in an elegant way.&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>Wed, 30 Dec 2015 09:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001749#M944287</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-12-30T09:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: splitting single QVD data into  2 QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001750#M944288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;while loading it self use filters ,&lt;/P&gt;&lt;P&gt;Last3months:&lt;/P&gt;&lt;P&gt;Load * from Table where Year&amp;lt;=max(Year) and year&amp;gt;=max(Year)-2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;STORE &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Last3months into &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Last3months.qvd(qvd);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;History:&lt;/P&gt;&lt;P&gt;Load * from Table where year&amp;lt;max(Year)-2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;STORE &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;History into &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;History.qvd(qvd);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try once&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 09:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001750#M944288</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2015-12-30T09:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: splitting single QVD data into  2 QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001751#M944289</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 ur reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are getting files on daily basis and this will be overwrite on daily basis. This is a fact table.&lt;/P&gt;&lt;P&gt;This is how my code looks like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you suggest me where do I include these functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Inserts:&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;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$(Vqvxpath)fact_site_visit_inserts.qvx(qvx);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; STORE Inserts into $(Vqvdpath)fact_site_visit.QVD(qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Inserts;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 09:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001751#M944289</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-30T09:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: splitting single QVD data into  2 QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001752#M944290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually this LOAD is step 2 in my list. You will still have to add a where clause that only imports records that are newer than what you already have. In that way, you can avoid loading the same data twice because you executed the reload script twice on the same day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry to hear that you won't have any historical data from before you start reloading your document-to-be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 09:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001752#M944290</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-12-30T09:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: splitting single QVD data into  2 QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001753#M944291</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;You can try something like below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14514708233118520" jivemacro_uid="_14514708233118520"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;Test:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;LOAD Max(Month) as MaxMonth&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;Input.qvd (qvd);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Let MaxMonth = Date(Addmonths(Peek('MaxMonth',0,'Test'),-1),'MMM YYYY');&lt;/P&gt;
&lt;P&gt;Let MinMonth = Date(Addmonths(Peek('MaxMonth',0,'Test'),-3),'MMM YYYY');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Drop Table Test;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;Current:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;LOAD*&lt;/P&gt;
&lt;P&gt;FROM Input.qvd (qvd) Where Month &amp;gt;= '$(MaxMonth)' and Month &amp;lt;='$(MinMonth)';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Store Current into Current.qvd(qvd);&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;Drop Table Current;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;History:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;LOAD *&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;FROM Input.qvd (qvd) Where Month &amp;lt; '$(MinMonth)';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Store History into History.qvd(qvd);&lt;/P&gt;
&lt;P&gt;Drop Table History;&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just assumed the Input file date format as "MMM YYYY'. You can alter the code according to your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/SPAN&gt; I have not tested the script. Let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 10:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001753#M944291</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-12-30T10:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: splitting single QVD data into  2 QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001754#M944292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nagaraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. I have only &lt;STRONG&gt;created date column in&amp;nbsp; DD-MM-YYYY HH:MM:SS&lt;/STRONG&gt; format and this is coming from fact table.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 11:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001754#M944292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-30T11:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: splitting single QVD data into  2 QVD's</title>
      <link>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001755#M944293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit;"&gt;Hi Kumar, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-style: inherit; color: black; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-style: inherit; color: black; line-height: 1.5em;"&gt;Try,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit;"&gt;Test:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-style: inherit; line-height: 1.5em;"&gt;LOAD *,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-style: inherit; line-height: 1.5em;"&gt;Max(Date(Floor(Timestamp#(Fieldname)),'DD/MM/YYYY')) AS&amp;nbsp; as MaxMonth &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-style: inherit; line-height: 1.5em;"&gt;FROM&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-style: inherit; line-height: 1.5em;"&gt;Input.qvd (qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-style: inherit; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-style: inherit; line-height: 1.5em;"&gt;Let &lt;/SPAN&gt;&lt;SPAN class="attribute" style="font-style: inherit; line-height: 1.5em; color: red; font-size: 9pt !important;"&gt;MaxMonth&lt;/SPAN&gt;&lt;SPAN style="color: black; font-style: inherit; line-height: 1.5em; font-size: 9pt !important;"&gt; = &lt;/SPAN&gt;&lt;SPAN class="attribute-value" style="font-style: inherit; line-height: 1.5em; color: blue; font-size: 9pt !important;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-style: inherit; line-height: 1.5em; font-size: 9pt !important;"&gt;(MonthEnd(Addmonths(Peek('MaxMonth',0,'Test'),-1)),'DD/MM/YYYY hh:mm:ss');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-style: inherit; line-height: 1.5em;"&gt;Let &lt;/SPAN&gt;&lt;SPAN class="attribute" style="font-style: inherit; line-height: 1.5em; color: red; font-size: 9pt !important;"&gt;MinMonth&lt;/SPAN&gt;&lt;SPAN style="color: black; font-style: inherit; line-height: 1.5em; font-size: 9pt !important;"&gt; = &lt;/SPAN&gt;&lt;SPAN class="attribute-value" style="font-style: inherit; line-height: 1.5em; color: blue; font-size: 9pt !important;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-style: inherit; line-height: 1.5em; font-size: 9pt !important;"&gt;(MonthStart(Addmonths(Peek('MaxMonth',0,'Test'),-3)),'DD/MM/YYYY hh:mm:ss'); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-style: inherit; line-height: 1.5em;"&gt;Drop Table Test;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-style: inherit; line-height: 1.5em;"&gt;.......&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-style: inherit; line-height: 1.5em;"&gt;Rest of the script same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-style: inherit; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-style: inherit; line-height: 1.5em;"&gt;Use debug mode to check the MaxMonth and MinMonth values. Let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 12:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/splitting-single-QVD-data-into-2-QVD-s/m-p/1001755#M944293</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-12-30T12:04:26Z</dc:date>
    </item>
  </channel>
</rss>

