<?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: How to find the anniversary of a start date in a particular year? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671847#M674752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;result and expression&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63321_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;makedate(&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(MakeDate(2000, month(START_DATE), Day(START_DATE)) &amp;lt;MakeDate(2000, month(today()), Day(today())),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(Today())+1,Year(Today())&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,month(START_DATE)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,Day(START_DATE)&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;script&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;t:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;START_DATE&lt;/P&gt;&lt;P&gt;15/09/2008&lt;/P&gt;&lt;P&gt;26/01/2010&lt;/P&gt;&lt;P&gt;13/09/2010&lt;/P&gt;&lt;P&gt;31/03/2011&lt;/P&gt;&lt;P&gt;17/09/2012&lt;/P&gt;&lt;P&gt;24/01/2013&lt;/P&gt;&lt;P&gt;];&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63320_1.png" style="width: auto; height: auto;" /&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63301_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jul 2014 09:05:39 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-07-29T09:05:39Z</dc:date>
    <item>
      <title>How to find the anniversary of a start date in a particular year?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671844#M674749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;START_DATE&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Anniversary of start date in 2012/3&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;15/09/2008&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15/09/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;26/01/2010&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;26/01/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;13/09/2010&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;13/09/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;31/03/2011&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;31/03/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;17/09/2012&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;17/09/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;24/01/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;24/01/2013&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have figures for the start date of employees (column 1 above)&amp;nbsp; and need something in the script to work out the anniversary of their start date in the current year. I have used 2012/3 as an example. I am looking to use the date in the first column to find the date&amp;nbsp; in the second column which I do not have.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated as I have been going round in circles on this one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 08:53:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671844#M674749</guid>
      <dc:creator />
      <dc:date>2014-07-29T08:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the anniversary of a start date in a particular year?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671845#M674750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your fiscal year 2012/13 starts from which month?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 09:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671845#M674750</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-07-29T09:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the anniversary of a start date in a particular year?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671846#M674751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would start on 01/08 every year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 09:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671846#M674751</guid>
      <dc:creator />
      <dc:date>2014-07-29T09:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the anniversary of a start date in a particular year?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671847#M674752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;result and expression&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63321_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;makedate(&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(MakeDate(2000, month(START_DATE), Day(START_DATE)) &amp;lt;MakeDate(2000, month(today()), Day(today())),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(Today())+1,Year(Today())&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,month(START_DATE)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,Day(START_DATE)&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;script&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;t:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;START_DATE&lt;/P&gt;&lt;P&gt;15/09/2008&lt;/P&gt;&lt;P&gt;26/01/2010&lt;/P&gt;&lt;P&gt;13/09/2010&lt;/P&gt;&lt;P&gt;31/03/2011&lt;/P&gt;&lt;P&gt;17/09/2012&lt;/P&gt;&lt;P&gt;24/01/2013&lt;/P&gt;&lt;P&gt;];&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63320_1.png" style="width: auto; height: auto;" /&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63301_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 09:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671847#M674752</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-07-29T09:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the anniversary of a start date in a particular year?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671848#M674753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucy,&lt;BR /&gt;I'm assuming your 2012/3 is from July2012 till June2013. Therefore I would use.&lt;BR /&gt;=makedate(day(START_DATE),num(month(START_DATE)),if(num(month(START_DATE))&amp;gt;6,2012,2013)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;BR /&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 09:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671848#M674753</guid>
      <dc:creator>tobias_klett</dc:creator>
      <dc:date>2014-07-29T09:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the anniversary of a start date in a particular year?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671849#M674754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the logic of 2012 and 2013 in anniversary ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 09:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671849#M674754</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-07-29T09:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the anniversary of a start date in a particular year?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671850#M674755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This appears to be working but how would I get the dates to fall in 2012/3 rather than 2014/5? Would I let Year(Today())-1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 09:25:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671850#M674755</guid>
      <dc:creator />
      <dc:date>2014-07-29T09:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the anniversary of a start date in a particular year?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671851#M674756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want 2 years before current year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;makedate(&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(MakeDate(2000, month(START_DATE), Day(START_DATE)) &amp;lt;MakeDate(2000, month(today()), Day(today())),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;Year(Today())-1,Year(Today())-2&lt;/STRONG&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,month(START_DATE)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,Day(START_DATE)&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 09:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671851#M674756</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-07-29T09:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the anniversary of a start date in a particular year?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671852#M674757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some reason this was only bringing up the year and not the rest of the date but will play around and see if I can make it work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 09:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671852#M674757</guid>
      <dc:creator />
      <dc:date>2014-07-29T09:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to find the anniversary of a start date in a particular year?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671853#M674758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the attachment the qvw I used for testing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 09:33:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671853#M674758</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-07-29T09:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to find the anniversary of a start date in a particular year?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671854#M674759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank-you so much for your help, works a treat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 09:38:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-anniversary-of-a-start-date-in-a-particular-year/m-p/671854#M674759</guid>
      <dc:creator />
      <dc:date>2014-07-29T09:38:05Z</dc:date>
    </item>
  </channel>
</rss>

