<?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 date range - setdateyear in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/date-range-setdateyear/m-p/179475#M46306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;analyzing a set of data between 2 dates&lt;/P&gt;&lt;P&gt;achieved for the current year:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;Count (if ((Created-ReportFromDate)&amp;gt;=0 AND (ReportToDate-Created&amp;gt;=0), Description))&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;but when I try to apply the same logic for the previous year by using the setdateyear function, it does not work anymore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;Count (if (((SetDateYear([Created],2010)-SetDateYear(ReportFromDate,2010))&amp;gt;=0 AND (SetDateYear(ReportToDate,2010)-SetDateYear([Created],2010))&amp;gt;=0), Description))&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;QV PE 10&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jan 2011 17:39:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-21T17:39:33Z</dc:date>
    <item>
      <title>date range - setdateyear</title>
      <link>https://community.qlik.com/t5/QlikView/date-range-setdateyear/m-p/179475#M46306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;analyzing a set of data between 2 dates&lt;/P&gt;&lt;P&gt;achieved for the current year:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;Count (if ((Created-ReportFromDate)&amp;gt;=0 AND (ReportToDate-Created&amp;gt;=0), Description))&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;but when I try to apply the same logic for the previous year by using the setdateyear function, it does not work anymore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;Count (if (((SetDateYear([Created],2010)-SetDateYear(ReportFromDate,2010))&amp;gt;=0 AND (SetDateYear(ReportToDate,2010)-SetDateYear([Created],2010))&amp;gt;=0), Description))&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;QV PE 10&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jan 2011 17:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-range-setdateyear/m-p/179475#M46306</guid>
      <dc:creator />
      <dc:date>2011-01-21T17:39:33Z</dc:date>
    </item>
  </channel>
</rss>

