<?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 How to Subtract 2 years from current year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Subtract-2-years-from-current-year/m-p/49673#M8211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;I would be thankful if you tell me the awnser ^^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should to find the total of rookies in the company, So here the calculation :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;new year= current year-2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if new year &amp;gt;= 2 , count PERSON_ID where PERSON_TYPE_ID={6}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me i couldn't found it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jun 2018 08:25:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-04T08:25:28Z</dc:date>
    <item>
      <title>How to Subtract 2 years from current year</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Subtract-2-years-from-current-year/m-p/49673#M8211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;I would be thankful if you tell me the awnser ^^&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should to find the total of rookies in the company, So here the calculation :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;new year= current year-2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if new year &amp;gt;= 2 , count PERSON_ID where PERSON_TYPE_ID={6}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me i couldn't found it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 08:25:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Subtract-2-years-from-current-year/m-p/49673#M8211</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-04T08:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Subtract 2 years from current year</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Subtract-2-years-from-current-year/m-p/49674#M8212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;count ({&amp;lt;&lt;STRONG style="font-size: 13.3333px;"&gt;PERSON_TYPE_ID={6}, year={'$([new year])'}&amp;gt;} &lt;/STRONG&gt;PERSON_ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 14:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Subtract-2-years-from-current-year/m-p/49674#M8212</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-06-04T14:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Subtract 2 years from current year</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Subtract-2-years-from-current-year/m-p/49675#M8213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You very much ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but may be i didn't explain my problem very well..!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to count the total number of rokkies in the company so i have these data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- count({&amp;lt;PERSON_TYPE_ID={6}&amp;gt;}distinct PERSON_ID) .&amp;nbsp; (These for count Total employees)&lt;/P&gt;&lt;P&gt;2-&amp;nbsp; I should subtract from Current Date -2&amp;nbsp; &lt;/P&gt;&lt;P&gt;3- I should subtract Current date from Date Start&amp;nbsp; if the result &amp;gt;=2 then count it as rookies&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DateStart-Current date &amp;gt;=2 ,Count ({&amp;lt;PERSON_TYPE_ID={6}&amp;gt;}distinct PERSON_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I solve it&amp;nbsp; could you please help me!&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jun 2018 00:42:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Subtract-2-years-from-current-year/m-p/49675#M8213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-09T00:42:03Z</dc:date>
    </item>
  </channel>
</rss>

