<?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: Current Year vs Last Year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-Year-vs-Last-Year/m-p/475669#M481721</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;For Max Year Calculation&lt;/P&gt;&lt;P&gt;create one variable like &lt;/P&gt;&lt;P&gt;vMaxYear=max(year(date(Datfield,'DD/MM/YYYY')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use above variable in setanalysis like&lt;/P&gt;&lt;P&gt;{&amp;lt;Datefield={$(vMaxYear)}&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Sep 2013 07:05:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-25T07:05:13Z</dc:date>
    <item>
      <title>Current Year vs Last Year</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Year-vs-Last-Year/m-p/475666#M481718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. How can i display all the clients that bought from us this year, but didn't buy the last year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 06:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Year-vs-Last-Year/m-p/475666#M481718</guid>
      <dc:creator />
      <dc:date>2013-09-25T06:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Current Year vs Last Year</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Year-vs-Last-Year/m-p/475667#M481719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using Set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a year field mention specifically this year. Something like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year={$(=year(today()))}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 06:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Year-vs-Last-Year/m-p/475667#M481719</guid>
      <dc:creator>abeyphilip</dc:creator>
      <dc:date>2013-09-25T06:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Current Year vs Last Year</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Year-vs-Last-Year/m-p/475668#M481720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Check E() in Qlikview help file in Set Analysis section&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;=sum(&lt;/SPAN&gt; {$&amp;lt;Customer = E({1&amp;lt;Year={$(=Year(Today())-1)}&amp;gt;} Customer) &amp;gt;} Sales &lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;SPAN style="margin-left: 40px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 07:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Year-vs-Last-Year/m-p/475668#M481720</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-09-25T07:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Current Year vs Last Year</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Year-vs-Last-Year/m-p/475669#M481721</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;For Max Year Calculation&lt;/P&gt;&lt;P&gt;create one variable like &lt;/P&gt;&lt;P&gt;vMaxYear=max(year(date(Datfield,'DD/MM/YYYY')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use above variable in setanalysis like&lt;/P&gt;&lt;P&gt;{&amp;lt;Datefield={$(vMaxYear)}&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 07:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Year-vs-Last-Year/m-p/475669#M481721</guid>
      <dc:creator />
      <dc:date>2013-09-25T07:05:13Z</dc:date>
    </item>
  </channel>
</rss>

