<?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: Adding last two months to next year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817832#M288337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;IF (Month + 2 &amp;gt; 12, MakeDate(Year+1,Month+2-12),MakeDate(Year,Month+2)) as FP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident Tab1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2015 04:35:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-06T04:35:53Z</dc:date>
    <item>
      <title>Adding last two months to next year</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817831#M288336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two fields Year, Month in my data, my requirement is to add last two months to next year (Means my year will start from November).Now i want to filter the data based on Year field. For Ex : Year is 2013 and Month is 11 then it should take Year is 2014 and Month is 1,Year is 2012 and Month is 6 then it should take Year is 2014 and Month is 8.&lt;/P&gt;&lt;P&gt;I did it but when i filter the data i'm getting problem suppose Year is 2013 and Month is 11 If I add the Year filter as 2014 this row also should come.&lt;/P&gt;&lt;P&gt;I have added sample QVW also, Could you please anyone can take a look into this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chiru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 14:59:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817831#M288336</guid>
      <dc:creator />
      <dc:date>2015-01-05T14:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding last two months to next year</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817832#M288337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;IF (Month + 2 &amp;gt; 12, MakeDate(Year+1,Month+2-12),MakeDate(Year,Month+2)) as FP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident Tab1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 04:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817832#M288337</guid>
      <dc:creator />
      <dc:date>2015-01-06T04:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Adding last two months to next year</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817833#M288338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And the the file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 04:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817833#M288338</guid>
      <dc:creator />
      <dc:date>2015-01-06T04:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adding last two months to next year</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817834#M288339</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;Kindly check Mr.Henric Blog.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3138"&gt;Fiscal Year&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vignesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 04:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817834#M288339</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-06T04:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding last two months to next year</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817835#M288340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Estrada,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for Your Reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i want filter the data based on year For Ex : year is 2013 and month is 11, If i put filter Year =2014 then this record also should come under 2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chiru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 04:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817835#M288340</guid>
      <dc:creator />
      <dc:date>2015-01-06T04:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding last two months to next year</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817836#M288341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="sc_0105012015.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74634_sc_0105012015.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;the latter is the only one table loaded in memory. Can you explain what behavior you want to achieve with the list boxes in the document: List boxes (Year), (Month) and (FP) those are the only ones you created in the document. explain please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 05:02:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817836#M288341</guid>
      <dc:creator />
      <dc:date>2015-01-06T05:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Adding last two months to next year</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817837#M288342</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;Arrive a Fiscal calendar in your datamodel, check this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-7094"&gt;Fiscal and Standard Calendar generation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 05:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817837#M288342</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-01-06T05:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adding last two months to next year</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817838#M288343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="sc_0205012015.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74635_sc_0205012015.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Year,Month,Price&lt;/P&gt;&lt;P&gt;2013,2,200&lt;/P&gt;&lt;P&gt;2013,3,300&lt;/P&gt;&lt;P&gt;2013,4,320&lt;/P&gt;&lt;P&gt;2012,6,230&lt;/P&gt;&lt;P&gt;2012,4,240&lt;/P&gt;&lt;P&gt;2012,5,600&lt;/P&gt;&lt;P&gt;2012,10,500&lt;/P&gt;&lt;P&gt;2013,10,200&lt;/P&gt;&lt;P&gt;2013,11,400&lt;/P&gt;&lt;P&gt;2014,9,900&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;finalresult:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;IF (Month + 2 &amp;gt; 12, MakeDate(Year+1,Month+2-12),MakeDate(Year,Month+2)) as FP&lt;/P&gt;&lt;P&gt;Resident Tab1;&lt;/P&gt;&lt;P&gt;outer join &lt;/P&gt;&lt;P&gt;load year(FP) as Year ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; resident finalresult; &lt;/P&gt;&lt;P&gt;drop table Tab1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 05:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-last-two-months-to-next-year/m-p/817838#M288343</guid>
      <dc:creator />
      <dc:date>2015-01-06T05:19:00Z</dc:date>
    </item>
  </channel>
</rss>

