<?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: To split dates on QVD and move remaining to separate QVD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753596#M268535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you can create a variable to filter querys to qvd and store the result table in different qvds...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vAccountingPeriod = Num(Month(AddMonths(Today(), -6)), '00) &amp;amp; Year(AddMonths(Today(), -6));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OldData:&lt;/P&gt;&lt;P&gt;LOAD * FROM QvdName.qvd(qvd) Where [Accounting Period]&amp;lt;$(vAccountingPeriod);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store OldData into OldData.qvd(qvd);&lt;/P&gt;&lt;P&gt;DROP Table OldData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CurrentData:&lt;/P&gt;&lt;P&gt;LOAD * FROM QvdName.qvd(qvd) Where [Accounting Period]&amp;gt;=$(vAccountingPeriod);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store CurrentData into CurrentData.qvd(qvd);&lt;/P&gt;&lt;P&gt;DROP Table CurrentData;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jan 2015 10:03:24 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2015-01-08T10:03:24Z</dc:date>
    <item>
      <title>To split dates on QVD and move remaining to separate QVD</title>
      <link>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753594#M268533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Have a QVD which has Accounting Period column contains a list of 2 years data&amp;nbsp; MMYYYY(i.e;012015)&lt;/P&gt;&lt;P&gt;How to write logic to remove all old data (more then 6 months old)from the current Month-Year to previous 6 month QVDs &lt;/P&gt;&lt;P&gt;and move them into Seperate QVD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 09:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753594#M268533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-08T09:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: To split dates on QVD and move remaining to separate QVD</title>
      <link>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753595#M268534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;load your qvd and filter the required months by using where and then store into a new qvd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 09:58:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753595#M268534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-08T09:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: To split dates on QVD and move remaining to separate QVD</title>
      <link>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753596#M268535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you can create a variable to filter querys to qvd and store the result table in different qvds...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vAccountingPeriod = Num(Month(AddMonths(Today(), -6)), '00) &amp;amp; Year(AddMonths(Today(), -6));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OldData:&lt;/P&gt;&lt;P&gt;LOAD * FROM QvdName.qvd(qvd) Where [Accounting Period]&amp;lt;$(vAccountingPeriod);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store OldData into OldData.qvd(qvd);&lt;/P&gt;&lt;P&gt;DROP Table OldData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CurrentData:&lt;/P&gt;&lt;P&gt;LOAD * FROM QvdName.qvd(qvd) Where [Accounting Period]&amp;gt;=$(vAccountingPeriod);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store CurrentData into CurrentData.qvd(qvd);&lt;/P&gt;&lt;P&gt;DROP Table CurrentData;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 10:03:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753596#M268535</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-01-08T10:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: To split dates on QVD and move remaining to separate QVD</title>
      <link>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753597#M268536</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;1. first of all get the max period from existing qvd file..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. then get the past 6 month date like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=Date(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('012015','MMYYYY')),-6) ,'MMYYYY')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;3. filter your data from qvd using the condition and store it in new qvd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 10:04:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753597#M268536</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2015-01-08T10:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: To split dates on QVD and move remaining to separate QVD</title>
      <link>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753598#M268537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry previously not clear about my requirement.&lt;/P&gt;&lt;P&gt;step-1:we are getting QVD from Application which has Accounting Period like as&amp;nbsp; (YYYYMM as 201408) there are a Number of Years like 2013,2014,2015&lt;/P&gt;&lt;P&gt;step 2:How to write concatenate of all 2013,2014,2015 years into 1 QVD and How to Split for separate Individual QVD as 2013.qvd,2014.qvd,2015.qvd&lt;/P&gt;&lt;P&gt;Step 3:How to get 6 months of data into separate QVD from Accounting Period (201408 i.e.,YYYYMM)&lt;/P&gt;&lt;P&gt;let say From current month Year to get Different combinations of QVD in if else logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All Accounting Period QVD&lt;/P&gt;&lt;P&gt;Yearly QVD&lt;/P&gt;&lt;P&gt;Past 6 months Qvd &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 15:16:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753598#M268537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-08T15:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: To split dates on QVD and move remaining to separate QVD</title>
      <link>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753599#M268538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, not tested but it should be something like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Step-1: Load all accounting period qvd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;AllData:&lt;/P&gt;&lt;P&gt;LOAD * From qvdName.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Step-2: Generate qvds for each year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Years_tmp:&lt;/P&gt;&lt;P&gt;LOAD Distinct Year as YearToFilter&lt;/P&gt;&lt;P&gt;Resident AllData Order By Year;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vMinYear = Peek('YearToFilter', 0, 'Years_tmp');&lt;/P&gt;&lt;P&gt;LET vMaxYear = Peek('YearToFilter', NoOfRows('Years_tmp')-1, 'Years_tmp');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For vYearToFilter = vMinYear to vMaxYear&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TempData:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD * Resident AllData WhereYear=$(vYearToFilter);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STORE TempData into $(vYearToFilter).qvd(qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DROP Table TempData;&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Step-3: Generate qvd with data of last 6 months&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LET vAccountingPeriod = Num(Month(AddMonths(Today(), -6)), '00) &amp;amp; Year(AddMonths(Today(), -6));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempData:&lt;/P&gt;&lt;P&gt;LOAD * Resident AllData Where [Accounting Period]&amp;gt;=$(vAccountingPeriod);&lt;/P&gt;&lt;P&gt;STORE TempData into Past6Months.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table TempData;&lt;/P&gt;&lt;P&gt;DROP Table AllData;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 16:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753599#M268538</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-01-08T16:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: To split dates on QVD and move remaining to separate QVD</title>
      <link>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753600#M268539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt; font-family: Calibri;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; line-height: normal; ; mso-layout-grid-align: none;"&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt; font-family: Calibri;"&gt;Try below code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; line-height: normal; ; mso-layout-grid-align: none;"&gt;&lt;SPAN style="mso-bidi-font-weight: normal; mso-bidi-font-family: 'Courier New'; color: black;"&gt;&lt;STRONG style="font-size: 12pt; font-family: Calibri;"&gt;All Accounting Period QVD:&lt;BR style="mso-special-character: line-break;" /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; line-height: normal; ; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12pt;"&gt;TempTable:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Min&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;minYear&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;maxYear&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;YearField&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; QVD\Main.qvd(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;qvd&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12pt;"&gt;) &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Order&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt;) asc;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;Let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;vMin&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Peek&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12pt;"&gt;('minYear', 0, 'TempTable');&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;Let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;vMax&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Peek&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;('maxYear', 0, 'TempTable');&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;FOR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;i&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;$(vMin)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;to&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;$(vMax)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;vYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;(' YearField ',&lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;$(i)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;,'TempTable');&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; ConsolidateYearWise:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt; font-family: Calibri;"&gt;Concatenate&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12pt;"&gt; * ,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;YearFlag&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; QVD\Main.qvd(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;qvd&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12pt;"&gt;) &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt;) = '$(vYear)';&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;Next&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;STORE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; ConsolidateYearWise &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;into&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt; ConsolidateData.qvd;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Table&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt; ConsolidateYearWise;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; TempTable;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; line-height: normal; ; mso-layout-grid-align: none;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; line-height: normal; ; mso-layout-grid-align: none;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; line-height: normal; ; mso-layout-grid-align: none;"&gt;&lt;SPAN style="mso-bidi-font-weight: normal; mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;Yearly QVD:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; TempTable:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Min&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;minYear&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;maxYear&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;YearField&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; QVD\Main.qvd(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;qvd&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12pt;"&gt;) &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Order&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt;) asc;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;Let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;vMin&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Peek&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12pt;"&gt;('minYear', 0, 'TempTable');&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;Let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;vMax&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Peek&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;('maxYear', 0, 'TempTable');&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;FOR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;i&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;$(vMin)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;to&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;$(vMax)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;vYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;(' YearField ',&lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;$(i)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;,'TempTable');&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; SeparateYearWise:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt; font-family: Calibri;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; QVD\Main.qvd(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;qvd&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12pt;"&gt;) &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt;) = '$(vYear)';&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;STORE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; SeparateYearWise &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; TableName_&lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;$(vYear)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12pt;"&gt;.qvd;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Table&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt; SeparateYearWise;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt; font-family: Calibri;"&gt;&lt;STRONG&gt;Next&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; TempTable;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; line-height: normal; ; mso-layout-grid-align: none;"&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN style="mso-bidi-font-weight: normal;"&gt;&lt;STRONG&gt;Past 6 months QVD:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;vAccountingPeriod&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;addmonths&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;(),-6));&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; line-height: normal; ; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12pt;"&gt;SixMonthsData:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; QVD\Main.qvd(&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;qvd&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12pt;"&gt;) &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: maroon; font-size: 12pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt;&amp;gt;=&lt;/SPAN&gt;&lt;STRONG style="mso-bidi-font-family: 'Courier New'; : ; color: gray; font-size: 12pt;"&gt;&lt;EM&gt;$(vAccountingPeriod)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: Calibri; font-size: 12pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;STORE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; SixMonthsData &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;into&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black; mso-bidi-font-family: 'Courier New';"&gt;&lt;SPAN style="font-size: 12pt;"&gt; TableName_SixMonthsData.qvd;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="; mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: blue; font-size: 12pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Courier New'; color: black; font-size: 12pt;"&gt; SixMonthsData; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Neetha&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 16:31:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753600#M268539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-08T16:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: To split dates on QVD and move remaining to separate QVD</title>
      <link>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753601#M268540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: Calibri;"&gt;Hi Neetha thanx for your solutions but not able to get desired results solution&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: Calibri;"&gt; TempTable:==&amp;gt;Here you shown &lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black;"&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;Min&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 12pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-size: 12pt;"&gt;minYear&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 12pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-size: 12pt;"&gt;maxYear&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: Calibri;"&gt;; not able to write syntax throwing Invalid Expression Syntax&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-size: 12pt;"&gt;Min&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 12pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-size: 12pt;"&gt;minYear&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 12pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-size: 12pt;"&gt;maxYear&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: Calibri;"&gt;;==&amp;gt;whether we need to load using any Resident table&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-size: 12pt;"&gt;Distinct&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-size: 12pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 12pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;AS&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-size: 12pt;"&gt;YearField&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt;"&gt; QVD\Main.qvd(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;qvd&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;)&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;Order&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-size: 12pt;"&gt;by&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-size: 12pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 12pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: Calibri;"&gt;) asc;&lt;SPAN style="font-size: 12pt; font-family: Calibri;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;Let&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: gray; font-size: 12pt;"&gt;&lt;EM&gt;vMin&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black; font-size: 12pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;Peek&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: Calibri;"&gt;('minYear', 0, 'TempTable');&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN style="color: black;"&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;&lt;STRONG&gt;Let&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: gray; font-size: 12pt;"&gt;&lt;EM&gt;vMax&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black; font-size: 12pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 12pt;"&gt;Peek&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: Calibri;"&gt;('maxYear', 0, 'TempTable');&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: Calibri;"&gt;Not able to get vMin,vMax&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: Calibri;"&gt;Any solution on this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TempTable:&lt;/P&gt;&lt;P&gt;LOAD Distinct PeriodYear AS YearField&lt;/P&gt;&lt;P&gt;//Min(PeriodYear) as minYear,&lt;/P&gt;&lt;P&gt; //max(PeriodYear) as maxYear&lt;/P&gt;&lt;P&gt; //Order by Year(AccPrdOGIS) asc;&lt;/P&gt;&lt;P&gt; //Resident OGIS;&lt;/P&gt;&lt;P&gt; Resident OGIS Order By PeriodYear asc;&lt;/P&gt;&lt;P&gt;//Let vMin=Peek('minYear', 0, 'OGISTable');&lt;/P&gt;&lt;P&gt;//Let vMax=Peek('maxYear', 0, 'OGISTable');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 11:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753601#M268540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-12T11:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: To split dates on QVD and move remaining to separate QVD</title>
      <link>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753602#M268541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//Try below code:&lt;BR /&gt; //All Accounting Period QVD:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; TempTable:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; QVD\Main.qvd(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Order&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) asc;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; Table:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Min&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;minYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;maxYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; TempTable&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;By&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vMin&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('minYear', 0, 'Table');&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vMax&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('maxYear', 0, 'Table');&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;FOR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;i&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(vMin)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;to&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(vMax)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(' YearField ',&lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(i)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'TempTable');&lt;BR /&gt; &lt;BR /&gt; ConsolidateYearWise:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * ,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; QVD\Main.qvd(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) = '$(vYear)';&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Next&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;STORE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ConsolidateYearWise &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ConsolidateData.qvd;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ConsolidateYearWise;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; TempTable;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Table;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//Yearly QVD:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; TempTable:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; QVD\Main.qvd(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Order&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) asc;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; Table:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Min&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;minYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;maxYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; TempTable&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;By&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vMin&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('minYear', 0, 'Table');&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vMax&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('maxYear', 0, 'Table');&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;FOR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;i&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(vMin)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;to&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(vMax)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(' YearField ',&lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(i)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'TempTable');&lt;BR /&gt; &lt;BR /&gt; SeparateYearWise:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; QVD\Main.qvd(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) = '$(vYear)';&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;STORE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; SeparateYearWise &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; TableName_&lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(vYear)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;.qvd;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; SeparateYearWise;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Next&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; TempTable;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Table;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//Past 6 months QVD:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vAccountingPeriod&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;addmonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),-6));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SixMonthsData:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; QVD\Main.qvd(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Accounting Period]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;=&lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(vAccountingPeriod)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;STORE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; SixMonthsData &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; TableName_SixMonthsData.qvd;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; SixMonthsData; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 11:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753602#M268541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-12T11:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: To split dates on QVD and move remaining to separate QVD</title>
      <link>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753603#M268542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TempTable:&lt;/P&gt;&lt;P&gt;//Tried Year,monthstart,monthens,Quarter&lt;/P&gt;&lt;P&gt;LOAD Distinct Year(AccPrdOGIS) AS YearField,&lt;/P&gt;&lt;P&gt;&amp;nbsp; date(date#(AccPrdOGIS, 'YYYYMM')) as PeriodStartMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(floor(MonthEnd(date#(AccPrdOGIS, 'YYYYMM')))) as PeriodEndMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; year(date#(AccPrdOGIS, 'YYYYMM')) as PeriodYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ceil(month(date#(AccPrdOGIS, 'YYYYMM'))/3) as PeriodQuarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; year(date#(AccPrdOGIS, 'YYYYMM')) &amp;amp; ceil(month(date#(AccPrdOGIS, 'YYYYMM'))/3) as PeriodYearQuarter&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;Order by Year(AccPrdOGIS) asc;&lt;/P&gt;&lt;P&gt;EXIT Script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried below code showing as Garbage value After statement Tried Year,monthstart,monthens,Quarter.&lt;/P&gt;&lt;P&gt;Can you help on what am missing after Order By &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 12:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753603#M268542</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-12T12:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: To split dates on QVD and move remaining to separate QVD</title>
      <link>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753604#M268543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/75131_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;from Temp.qvd(qvd)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75109_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;AccPrdOGIS consists of YYYYMM Format like 201501&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 12:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753604#M268543</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-12T12:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: To split dates on QVD and move remaining to separate QVD</title>
      <link>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753605#M268544</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;For Yearly Qvd creation you can get help from this Document this creates Yearly QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-7591"&gt;Year Wise Qvd creation from Source Data&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 13:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753605#M268544</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2015-01-12T13:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: To split dates on QVD and move remaining to separate QVD</title>
      <link>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753606#M268545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;H&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;i,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Try:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AccPrdOGIS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'YYYYMM')) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AccPrdOGIS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'YYYYMM')) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PeriodStartMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MonthEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AccPrdOGIS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'YYYYMM')))) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PeriodEndMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AccPrdOGIS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'YYYYMM')) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PeriodYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ceil&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AccPrdOGIS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'YYYYMM'))/3) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PeriodQuarter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AccPrdOGIS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'YYYYMM')) &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ceil&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AccPrdOGIS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'YYYYMM'))/3) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PeriodYearQuarter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;D&gt;&lt;BR /&gt; &lt;BR /&gt; (&lt;/D&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Order&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AccPrdOGIS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'YYYYMM'))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; asc;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;EXIT&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Script&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 15:08:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-split-dates-on-QVD-and-move-remaining-to-separate-QVD/m-p/753606#M268545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-12T15:08:09Z</dc:date>
    </item>
  </channel>
</rss>

