<?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: please help on separate QVD year wise in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788417#M278811</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oscar as new to Qlik struggling on dates can you help on this to generate year wise qvd &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Dec 2014 20:58:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-12-05T20:58:10Z</dc:date>
    <item>
      <title>please help on separate QVD year wise</title>
      <link>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788415#M278809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Please provide solution on to generate multiple QVD on year basis.2013 related data into 2013.qvd and 2014 relates data in 2014.qvd&lt;/P&gt;&lt;P&gt;i.e., Jan-1-2013 to Dec-31-2013 as 2013.qvd and Jan-1-2014 to Dec-31-2014 as 2014.qvd&lt;/P&gt;&lt;P&gt;Tried below script&lt;/P&gt;&lt;P&gt;temp:&lt;/P&gt;&lt;P&gt;load max([Monthstart_Sale]) as period&amp;nbsp;&amp;nbsp; Resident $(SALES_Table);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;let vperiodcheck=peek('period',0,'temp');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;let vlastyear=year(today())-1;&lt;/P&gt;&lt;P&gt;//let vCurrentyear= Year(Yearstart( Today()));&lt;/P&gt;&lt;P&gt;LET vCurrentyear = num(Year(today()));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If month($(vperiodcheck))=1&lt;/P&gt;&lt;P&gt;store Sales into sales$(vlastyear).qvd(qvd);&lt;/P&gt;&lt;P&gt;ELSEIF&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;store Sales into sales_Previous_$(vcurrentyear).qvd(qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;EXIT Script;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;But unfortunately getting sales$(vlastyear).qvd i.e.,2013.qvd with jan-nov not getting dec data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;and not able to getting 2014.qvd &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Below is error log:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12/6/2014 12:40:43 AM: 0717&amp;nbsp; temp:&lt;/P&gt;&lt;P&gt;12/6/2014 12:40:43 AM: 0718&amp;nbsp; load max([Monthstart_Sale]) as period&amp;nbsp;&amp;nbsp; Resident Sales&lt;/P&gt;&lt;P&gt;12/6/2014 12:40:43 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 fields found: period, 1 lines fetched&lt;/P&gt;&lt;P&gt;12/6/2014 12:40:43 AM: 0721&amp;nbsp; let vperiodcheck=peek('period',0,'temp')&lt;/P&gt;&lt;P&gt;12/6/2014 12:40:43 AM: 0722&amp;nbsp; let vlastyear=year(today())-1&lt;/P&gt;&lt;P&gt;12/6/2014 12:40:43 AM: 0724&amp;nbsp; LET vCurrentyear = Num(today())&lt;/P&gt;&lt;P&gt;12/6/2014 12:40:43 AM: 0728&amp;nbsp; If month(41974)=1&lt;/P&gt;&lt;P&gt;12/6/2014 12:40:43 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: Script line error: &lt;/P&gt;&lt;P&gt;12/6/2014 12:40:43 AM: 0729&amp;nbsp; store Sales into sales_2013.qvd(qvd)&lt;/P&gt;&lt;P&gt;12/6/2014 12:40:43 AM: 0730&amp;nbsp; ELSEIF&lt;/P&gt;&lt;P&gt;12/6/2014 12:40:43 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: Script line error: &lt;/P&gt;&lt;P&gt;12/6/2014 12:40:43 AM: 0732&amp;nbsp; store Sales into sales_Previous_.qvd(qvd)&lt;/P&gt;&lt;P&gt;12/6/2014 12:40:43 AM: 0736&amp;nbsp; EXIT Script&lt;/P&gt;&lt;P&gt;12/6/2014 12:40:43 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please do needful.Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 20:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788415#M278809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-05T20:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: please help on separate QVD year wise</title>
      <link>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788416#M278810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see a couple of issues with the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first is the period check variable.&amp;nbsp; What are you expecting to see there.&amp;nbsp; The way you have it coded it seems that you are looking for a numeric period 1-12.&amp;nbsp; If so you'll need to modify your script accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second is the elseif statement, i believe you simply want an else there.&amp;nbsp; An elseif is looking for another condition to check for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 20:25:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788416#M278810</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2014-12-05T20:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: please help on separate QVD year wise</title>
      <link>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788417#M278811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oscar as new to Qlik struggling on dates can you help on this to generate year wise qvd &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 20:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788417#M278811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-05T20:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: please help on separate QVD year wise</title>
      <link>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788418#M278812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide sample data for your temp table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This script will complete without errors, but is it what you are looking to accomplish?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Monthstart_Sale&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12/01/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/01/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/01/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9/01/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8/01/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7/01/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6/01/2014&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;temp:&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;&amp;nbsp; max( Num(Month([Monthstart_Sale])) ) as period&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vPeriodCheck=peek('period',0,'temp');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vLastYear = Year(Today())-1;&lt;/P&gt;&lt;P&gt;LET vCurrentYear = Year(Today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If $(vPeriodCheck)=1 then&lt;/P&gt;&lt;P&gt;&amp;nbsp; Store Sales into sales$(vLastYear).qvd(qvd);&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;&amp;nbsp; Store Sales into sales_Previous_$(vCurrentYear).qvd(qvd);&lt;/P&gt;&lt;P&gt;EXIT Script;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 21:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788418#M278812</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2014-12-05T21:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re: please help on separate QVD year wise</title>
      <link>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788419#M278813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please find attached sample to reference&amp;nbsp; created month start,month end to Account period column.&lt;/P&gt;&lt;P&gt;To get year wise qvd and in second step need to rolling of past 12 months of data from current date.&lt;/P&gt;&lt;P&gt;Need to check all qvd and fetch data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 21:56:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788419#M278813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-05T21:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: please help on separate QVD year wise</title>
      <link>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788420#M278814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use this for your initial query in regards to splitting current year and prior year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll come up with a solution for your rolling twelve months shortly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*** I've updated the attachment with the Rolling 12 fix.&amp;nbsp; Have a look and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2014 00:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788420#M278814</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2014-12-06T00:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: please help on separate QVD year wise</title>
      <link>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788421#M278815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to Generate year wise QVD nut not getting exactly.can any one correct the logic which have written problem with the dates&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2014 15:57:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788421#M278815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-06T15:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: please help on separate QVD year wise</title>
      <link>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788422#M278816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;would solve it with a help-table:&lt;/P&gt;&lt;P&gt;LET vYear = YEAR(TODAY()) -1;&lt;/P&gt;&lt;P&gt;LET vFileName = '.\AnnualTable_For_' &amp;amp; vYear &amp;amp; '.qvd';&lt;/P&gt;&lt;P&gt;PreviousYear:&lt;/P&gt;&lt;P&gt;NOCONCATENATE LOAD * RESIDENT TotalTable WHERE YEAR(Date) = $(vYear);&lt;/P&gt;&lt;P&gt;STORE PreviousYear INTO $(vFileName) (qvd);&lt;/P&gt;&lt;P&gt;DROP TABLE PreviousYear;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Dec 2014 18:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788422#M278816</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2014-12-07T18:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: please help on separate QVD year wise</title>
      <link>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788423#M278817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swetha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this way also by load different variables and then load all year tables and store them&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;YearCount:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;TotYr&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; Source;&lt;BR /&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;EM&gt;vYearMin&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;('TotYr',0,'YearCount');&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;EM&gt;vYearMax&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;('TotYr',-1,'YearCount'); &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Drop Table &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;YearCount;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;FOR&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;EM&gt;vYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;STRONG style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;EM&gt;$(vYearMin)&lt;/EM&gt;&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;to&lt;/SPAN&gt; &lt;STRONG style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;EM&gt;$(vYearMax)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;//////////&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;EM&gt;$(vTableName)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; * &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; Source &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Where&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;STRONG style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;EM&gt;$(vTableName)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;STORE&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;EM&gt;$(vTableName)&lt;/EM&gt;&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;into&lt;/SPAN&gt; &lt;STRONG style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;EM&gt;$(vTableName)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;.qvd; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;NEXT &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Dec 2014 21:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788423#M278817</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-12-07T21:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: please help on separate QVD year wise</title>
      <link>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788424#M278818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank Anand&amp;nbsp; for your solution got solution with if else logic,your solution is also working.I'm able to split qvd year basis in qvd generators but to&amp;nbsp; use year wise qvd in final application to get previous 12 months of data from current date?Any help on this please it will help on great day&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 06:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788424#M278818</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-08T06:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: please help on separate QVD year wise</title>
      <link>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788425#M278819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;either you may generate monthwise data, or you load two qvd's (one for each year) and do the selection/filtering on basis monthes during the load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 08:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788425#M278819</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2014-12-08T08:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: please help on separate QVD year wise</title>
      <link>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788426#M278820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any one has solution on below thread&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/message/675483#675483" title="http://community.qlik.com/message/675483#675483"&gt; &lt;/A&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;A class="jive-link-message-small" data-containerid="2051" data-containertype="14" data-objectid="675483" data-objecttype="2" href="http://community.qlik.com/message/675483#675483"&gt;http://community.qlik.com/message/675483#675483&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;For getting Year wise QVD below script worked .Thanks for all your Solutions.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;temp:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;load&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Monthstart_Sales]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;period&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Resident&lt;/SPAN&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(Sale_Table)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;let&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;vperiodcheck&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;('period',0,'temp');&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;let&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;vlastyear&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;())-1;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;let&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;vCurrentyear&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;());&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;if&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(vperiodcheck)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;))=1 &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;BR /&gt; TEMP1:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;NoConcatenate&lt;/SPAN&gt; &lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Resident&lt;/SPAN&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$( Sale_Table)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;where&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Monthstart_Sales]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;YearStart&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;());&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;store&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; TEMP1 &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; Sale_previous_&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(vlastyear)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;.qvd(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;);&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;drop&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; TEMP1;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;ELSE&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; TEMP1:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;NoConcatenate&lt;/SPAN&gt; &lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Resident&lt;/SPAN&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$( Sale_Table)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;where&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Monthstart_Sales]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;YearStart&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;());&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;store&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; TEMP1 &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;into&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; Sale_current_&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(vCurrentyear)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;.qvd(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;);&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;drop&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; TEMP1;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 12:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788426#M278820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-08T12:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: please help on separate QVD year wise</title>
      <link>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788427#M278821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/144986"&gt;How To get Rolling 12 months of data from Accounting Period of each Financial QVD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Any solution on Thread For QVD Generators Year wise QVD Got.&lt;/P&gt;&lt;P&gt;Now need to Load QVD in Finall Application to filter only 12 months of data from present Month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 14:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/please-help-on-separate-QVD-year-wise/m-p/788427#M278821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-08T14:48:23Z</dc:date>
    </item>
  </channel>
</rss>

