<?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 Comparison between current year and previous year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparison-between-current-year-and-previous-year/m-p/663813#M675003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate from transaction data:&lt;/P&gt;&lt;P&gt;1&amp;gt; count of CODE which are present in current year but not in previous year i.e New Code.&lt;/P&gt;&lt;P&gt;2&amp;gt; count of CODE which are present in previous year but not in current year i.e Lost Code.&lt;/P&gt;&lt;P&gt;3&amp;gt; count of CODE which are present in both years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be highly appreciated.&lt;/P&gt;&lt;P&gt;Kindly find the application for dummy data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2014 13:04:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-28T13:04:54Z</dc:date>
    <item>
      <title>Comparison between current year and previous year</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-between-current-year-and-previous-year/m-p/663813#M675003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate from transaction data:&lt;/P&gt;&lt;P&gt;1&amp;gt; count of CODE which are present in current year but not in previous year i.e New Code.&lt;/P&gt;&lt;P&gt;2&amp;gt; count of CODE which are present in previous year but not in current year i.e Lost Code.&lt;/P&gt;&lt;P&gt;3&amp;gt; count of CODE which are present in both years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be highly appreciated.&lt;/P&gt;&lt;P&gt;Kindly find the application for dummy data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 13:04:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-between-current-year-and-previous-year/m-p/663813#M675003</guid>
      <dc:creator />
      <dc:date>2014-07-28T13:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison between current year and previous year</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-between-current-year-and-previous-year/m-p/663814#M675006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;='In Both Year : '&amp;amp;COUNT({&amp;lt;year = {'$(=Max(year))'}, CODE = P({1&amp;lt;year = {'$(=max(year)-1)'}&amp;gt;}CODE)&amp;gt;}DISTINCT CODE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='In '&amp;amp;Max(year) &amp;amp; ' but Not '&amp;amp;(Max(year)-1) &amp;amp;': '&amp;amp;COUNT({&amp;lt;year = {'$(=Max(year))'}, CODE = E({1&amp;lt;year = {'$(=max(year)-1)'}&amp;gt;}CODE)&amp;gt;}DISTINCT CODE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='In '&amp;amp;(Max(year)-1) &amp;amp; ' but Not '&amp;amp;Max(year) &amp;amp;': '&amp;amp;COUNT({&amp;lt;year = {'$(=Max(year)-1)'}, CODE = E({1&amp;lt;year = {'$(=max(year))'}&amp;gt;}CODE)&amp;gt;}DISTINCT CODE)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 13:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-between-current-year-and-previous-year/m-p/663814#M675006</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-07-28T13:26:17Z</dc:date>
    </item>
  </channel>
</rss>

