<?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 Year between 2 dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-between-2-dates/m-p/234183#M85650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Docs]:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Document, StartDate, EndDate&lt;/P&gt;&lt;P&gt;350003428, 12/15/2005, 12/14/2011&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[NewDoc]:&lt;/P&gt;&lt;P&gt;Load Document,&lt;/P&gt;&lt;P&gt;year(StartDate) + IterNo() as Year&lt;/P&gt;&lt;P&gt;resident Docs&lt;/P&gt;&lt;P&gt;while IterNo() &amp;lt;= (year(EndDate) - year(StartDate));&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;New Straight Table:&lt;/DIV&gt;&lt;DIV&gt;In the expression use : concat(Year,',')&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Apr 2011 20:09:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-04-28T20:09:46Z</dc:date>
    <item>
      <title>Year between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Year-between-2-dates/m-p/234182#M85649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have q requirement to find year between 2 dates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;M:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Document, StartDate, EndDate&lt;BR /&gt;350003428, 12/15/2005, 12/14/2011&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am exepecting to see the result&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;2005,2006,2007,2008,2009,2010,2011 for the Document 350003428&lt;/P&gt;&lt;P&gt;I tried&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Yearstart(addyears((year(StartDate), IterNo()-1)) &amp;lt;= year(EndDate);&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Advance thanks for your help.&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 18:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-between-2-dates/m-p/234182#M85649</guid>
      <dc:creator />
      <dc:date>2011-04-28T18:32:41Z</dc:date>
    </item>
    <item>
      <title>Year between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Year-between-2-dates/m-p/234183#M85650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Docs]:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Document, StartDate, EndDate&lt;/P&gt;&lt;P&gt;350003428, 12/15/2005, 12/14/2011&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[NewDoc]:&lt;/P&gt;&lt;P&gt;Load Document,&lt;/P&gt;&lt;P&gt;year(StartDate) + IterNo() as Year&lt;/P&gt;&lt;P&gt;resident Docs&lt;/P&gt;&lt;P&gt;while IterNo() &amp;lt;= (year(EndDate) - year(StartDate));&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;New Straight Table:&lt;/DIV&gt;&lt;DIV&gt;In the expression use : concat(Year,',')&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 20:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-between-2-dates/m-p/234183#M85650</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-28T20:09:46Z</dc:date>
    </item>
    <item>
      <title>Year between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Year-between-2-dates/m-p/234184#M85651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Example attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 20:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-between-2-dates/m-p/234184#M85651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-28T20:11:15Z</dc:date>
    </item>
    <item>
      <title>Year between 2 dates</title>
      <link>https://community.qlik.com/t5/QlikView/Year-between-2-dates/m-p/234185#M85652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great help. &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;. Thank you for quick update.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 21:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-between-2-dates/m-p/234185#M85652</guid>
      <dc:creator />
      <dc:date>2011-04-28T21:04:02Z</dc:date>
    </item>
  </channel>
</rss>

