<?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: Between Years Comparison in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Between-Years-Comparison/m-p/701459#M253203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Almost that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expresssion I needed was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sum({$&amp;lt;Year={"&amp;gt;$(=max(Year)-5)&amp;lt;=$(=max(Year))"}&amp;gt;}Vendas)/1000&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;P&gt;above(Sum({$&amp;lt;Year={"&amp;gt;$(=max(Year)-5)&amp;lt;=$(=max(Year))"}&amp;gt;}Vendas)/1000))/&lt;/P&gt;&lt;P&gt;above(Sum({$&amp;lt;Year={"&amp;gt;$(=max(Year)-5)&amp;lt;=$(=max(Year))"}&amp;gt;}Vendas)/1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but without your contribution it could not be possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André Gomes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Sep 2014 08:29:32 GMT</pubDate>
    <dc:creator>agomes1971</dc:creator>
    <dc:date>2014-09-16T08:29:32Z</dc:date>
    <item>
      <title>Between Years Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Between-Years-Comparison/m-p/701455#M253199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to create an expression from a set analysis that compares one year with the previous?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 15:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Between-Years-Comparison/m-p/701455#M253199</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2014-09-15T15:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Between Years Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Between-Years-Comparison/m-p/701456#M253200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Current Year&lt;/P&gt;&lt;P&gt;SUM(Sales) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previous Year&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Year = {'$(=Max(Year)-1)'}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 15:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Between-Years-Comparison/m-p/701456#M253200</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-15T15:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Between Years Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Between-Years-Comparison/m-p/701457#M253201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #009bf5;"&gt;sum({$ &amp;lt; Año={$(=max(Año)-1)} &amp;gt; } Ventas)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #009bf5;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #009bf5;"&gt;where Año (=Year) is the maximun year selected&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 15:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Between-Years-Comparison/m-p/701457#M253201</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-09-15T15:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Between Years Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Between-Years-Comparison/m-p/701458#M253202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you mean this the expression is &lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Year={"&amp;gt;$(=max(Year)-5)&amp;lt;=$(=max(Year))"}&amp;gt;}Vendas)/1000&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;above(Sum({$&amp;lt;Year={"&amp;gt;$(=max(Year)-5)&amp;lt;=$(=max(Year))"}&amp;gt;}Vendas)/1000)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/66820_1.png" style="width: 620px; height: 183px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 22:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Between-Years-Comparison/m-p/701458#M253202</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-15T22:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Between Years Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Between-Years-Comparison/m-p/701459#M253203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Almost that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expresssion I needed was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sum({$&amp;lt;Year={"&amp;gt;$(=max(Year)-5)&amp;lt;=$(=max(Year))"}&amp;gt;}Vendas)/1000&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;P&gt;above(Sum({$&amp;lt;Year={"&amp;gt;$(=max(Year)-5)&amp;lt;=$(=max(Year))"}&amp;gt;}Vendas)/1000))/&lt;/P&gt;&lt;P&gt;above(Sum({$&amp;lt;Year={"&amp;gt;$(=max(Year)-5)&amp;lt;=$(=max(Year))"}&amp;gt;}Vendas)/1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but without your contribution it could not be possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André Gomes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 08:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Between-Years-Comparison/m-p/701459#M253203</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2014-09-16T08:29:32Z</dc:date>
    </item>
  </channel>
</rss>

