<?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: Finding new records in Latest ID by compared with previous ID in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384521#M421666</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;That will work based on that data. I'm not using &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;NoPrevious&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; in that logic&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Luis&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Dec 2017 05:29:14 GMT</pubDate>
    <dc:creator>luismadriz</dc:creator>
    <dc:date>2017-12-12T05:29:14Z</dc:date>
    <item>
      <title>Finding new records in Latest ID by compared with previous ID</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384516#M421661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to find out the new records that were arrived in Latest Time ID by compared with previous Time ID. Below is my sample data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to set the "NoPrevious" flag in Qlikview By comparing with previous Time Id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one assist me to get it done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic:&lt;/P&gt;&lt;P&gt;If(TimeID = Previous(TimeID) and MeterCode&amp;lt;&amp;gt; Previous Time ID MeterCode,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shakila D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 19:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384516#M421661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-11T19:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Finding new records in Latest ID by compared with previous ID</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384517#M421662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this should work for you if I understand you right:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="186487" alt="2017-12-12 00_39_22-Finding new records in Latest ID by compared wi... _ Qlik Community.png" class="jive-image image-1" src="/legacyfs/online/186487_2017-12-12 00_39_22-Finding new records in Latest ID by compared wi... _ Qlik Community.png" style="height: 509px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to combine the two fields into one to be able to make use of the Exists() function to check if previously loaded values exists already in memory. The Previous() function will be of no help as it always refers to the source rows and thus can't combine any source fields at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 23:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384517#M421662</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2017-12-11T23:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Finding new records in Latest ID by compared with previous ID</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384518#M421663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shakila,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe try something like this?&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Timestamp",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "No Previous"&lt;/P&gt;&lt;P&gt;FROM [lib://AttachedFiles/Data set.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Code=Previous(Code),'Old','New') as Flag,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Code=Previous(Code),0,1) as NewNoPrevious&lt;/P&gt;&lt;P&gt;Resident Temp&lt;/P&gt;&lt;P&gt;Order by Code,TimeID;&lt;/P&gt;&lt;P&gt;Drop Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 23:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384518#M421663</guid>
      <dc:creator>luismadriz</dc:creator>
      <dc:date>2017-12-11T23:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Finding new records in Latest ID by compared with previous ID</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384519#M421664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Luis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But What I need is I want to calculate the NoPrevious column in Excel. My dataset is only have TimeID,Code &amp;amp; Timestamp alone. I want to set the NoPrevious Flag based upon Above logic which i mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just provide the sample Output&amp;nbsp; in Excel along with NoPrevious column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="216"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="51"&gt;TimeID&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="56"&gt;Code&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="109"&gt;Timestamp&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;69&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1234565&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;02-10-2017 00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;69&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;7896321&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;02-10-2017 00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;70&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1234565&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;09-10-2017 00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;70&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;7896321&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;09-10-2017 00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;70&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3456789&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;09-10-2017 00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;71&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3456789&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;16-10-2017 00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;71&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;7512348&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;20-10-2017 00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;72&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;7896321&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;&lt;P&gt;20-10-2017 00:00&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 05:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384519#M421664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-12T05:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Finding new records in Latest ID by compared with previous ID</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384520#M421665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain result as well with new column, If you aware?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 05:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384520#M421665</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-12T05:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Finding new records in Latest ID by compared with previous ID</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384521#M421666</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;That will work based on that data. I'm not using &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;NoPrevious&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; in that logic&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Luis&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 05:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384521#M421666</guid>
      <dc:creator>luismadriz</dc:creator>
      <dc:date>2017-12-12T05:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Finding new records in Latest ID by compared with previous ID</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384522#M421667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Petter, It works as I expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 22:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384522#M421667</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-13T22:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Finding new records in Latest ID by compared with previous ID</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384523#M421668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Petter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Can you please help me how the below highlighted command will works? Because the&lt;/SPAN&gt; td-1 will take different date value, then how it getting matched with TC and set the flag as 1/0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Exists(TC,&lt;STRONG&gt;(TD-1)&amp;amp;'_'&amp;amp;Code&lt;/STRONG&gt;),0,1) As NoPrevious;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 23:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-new-records-in-Latest-ID-by-compared-with-previous-ID/m-p/1384523#M421668</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-13T23:04:28Z</dc:date>
    </item>
  </channel>
</rss>

