<?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 Expressions between dates grouped by years in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expressions-between-dates-grouped-by-years/m-p/471438#M1154124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a question about set analisys and date ranges. I use Qlikview 9 sr 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this set analisys expression:&lt;/P&gt;&lt;P&gt;=sum&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {$&amp;lt;DocumentDate = {'&amp;gt;=$(=Date(MinDate))&amp;lt;=$(=Date(MaxDate))'}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (DataValues_MS)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;=sum&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {$&amp;lt;DocumentDate = {'&amp;gt;=$(=Date(MinDate))&amp;lt;=$(=Date(MaxDate))'}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (DataValues_NT)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table in wich if I select for example year 2012, the result is 14,011, then if I select year 2013 the result is 10,502 and all result for the single year selection are correct.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/337439/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/337439/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I select 2012 and 2013, in my pivot table for each year I have the same result, 12,591&lt;/P&gt;&lt;P&gt;How I can I obtain the correct values when 2012 and 2013 years are both selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/337439/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in the solution of this case?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Apr 2013 13:42:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-19T13:42:05Z</dc:date>
    <item>
      <title>Expressions between dates grouped by years</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-between-dates-grouped-by-years/m-p/471438#M1154124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a question about set analisys and date ranges. I use Qlikview 9 sr 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this set analisys expression:&lt;/P&gt;&lt;P&gt;=sum&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {$&amp;lt;DocumentDate = {'&amp;gt;=$(=Date(MinDate))&amp;lt;=$(=Date(MaxDate))'}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (DataValues_MS)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;=sum&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {$&amp;lt;DocumentDate = {'&amp;gt;=$(=Date(MinDate))&amp;lt;=$(=Date(MaxDate))'}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (DataValues_NT)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table in wich if I select for example year 2012, the result is 14,011, then if I select year 2013 the result is 10,502 and all result for the single year selection are correct.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/337439/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/337439/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I select 2012 and 2013, in my pivot table for each year I have the same result, 12,591&lt;/P&gt;&lt;P&gt;How I can I obtain the correct values when 2012 and 2013 years are both selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/337439/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in the solution of this case?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 13:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-between-dates-grouped-by-years/m-p/471438#M1154124</guid>
      <dc:creator />
      <dc:date>2013-04-19T13:42:05Z</dc:date>
    </item>
  </channel>
</rss>

