<?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: Comparing records in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-records/m-p/1052186#M353062</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/114886_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;source:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load *, date(date#(MonthYear, 'MMM-YY')) as Date inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MonthYear ItemName ItemNo&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Jan-15 AAA 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Jan-15 BBB 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Jan-15 CCC 3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Feb-15 AAA 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Feb-15 BBB 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Feb-15 DDD 4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mar-15 BBB 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mar-15 DDD 4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mar-15 EEE 5&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mar-15 CCC 3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;] (delimiter is spaces);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load Date(min(Date)) as MinDate Resident source; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let vMinDate=Peek('MinDate');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left Join (source)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ItemName, ItemNo, Date,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if(&amp;nbsp; Peek('ItemNo')=ItemNo and Peek('Date')=AddMonths(Date, -1) or Date='$(vMinDate)' , 'Exists', 'New') as FlagExists&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident source&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Order by ItemNo, Date;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Final:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load MonthYear, sum(if(FlagExists='New',1,0)) as New &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident source &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;group by MonthYear;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Feb 2016 13:09:42 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2016-02-17T13:09:42Z</dc:date>
    <item>
      <title>Comparing records</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-records/m-p/1052185#M353061</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 have a requirement where I want&amp;nbsp; to&amp;nbsp; count the number of items that are&amp;nbsp; newly added . I need to compare the items with that of previous Month. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 245px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="88"&gt;Month -Year&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="93"&gt;ItemName&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;ItemNo&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;Jan-15&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;AAA&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;Jan-15&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;BBB&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;Jan-15&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;CCC&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;Feb-15&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;AAA&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;Feb-15&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;BBB&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;Feb-15&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;DDD&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;Mar-15&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;BBB&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;Mar-15&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;DDD&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;Mar-15&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;EEE&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;Mar-15&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;CCC&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show in straight table as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="96" style="width: 181px; height: 96px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="88"&gt;Month-Year&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="93"&gt;NewlyAddedItems&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;Jan-15&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;Feb-15&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;Mar-15&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help on this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 09:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-records/m-p/1052185#M353061</guid>
      <dc:creator />
      <dc:date>2016-02-17T09:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing records</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-records/m-p/1052186#M353062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/114886_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;source:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load *, date(date#(MonthYear, 'MMM-YY')) as Date inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MonthYear ItemName ItemNo&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Jan-15 AAA 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Jan-15 BBB 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Jan-15 CCC 3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Feb-15 AAA 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Feb-15 BBB 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Feb-15 DDD 4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mar-15 BBB 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mar-15 DDD 4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mar-15 EEE 5&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mar-15 CCC 3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;] (delimiter is spaces);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load Date(min(Date)) as MinDate Resident source; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let vMinDate=Peek('MinDate');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left Join (source)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ItemName, ItemNo, Date,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if(&amp;nbsp; Peek('ItemNo')=ItemNo and Peek('Date')=AddMonths(Date, -1) or Date='$(vMinDate)' , 'Exists', 'New') as FlagExists&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident source&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Order by ItemNo, Date;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Final:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load MonthYear, sum(if(FlagExists='New',1,0)) as New &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident source &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;group by MonthYear;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 13:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-records/m-p/1052186#M353062</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-02-17T13:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing records</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-records/m-p/1052187#M353063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MG,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the solution but I need to do this in Chart level without changing in the script. How this could be done in chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 04:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-records/m-p/1052187#M353063</guid>
      <dc:creator />
      <dc:date>2016-02-18T04:54:47Z</dc:date>
    </item>
  </channel>
</rss>

