<?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 Please assist. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Please-assist/m-p/66102#M785572</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;How can I compare value of one row field with the other row of same field .&lt;/P&gt;&lt;P&gt;For eg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Non.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/195570_Non.PNG" style="height: 386px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if previousdealid value match the 1 elso 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement &lt;/P&gt;&lt;P&gt;For eg, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my result should have id -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;328&lt;/P&gt;&lt;P&gt;1653&lt;/P&gt;&lt;P&gt;3373&lt;/P&gt;&lt;P&gt;3385&lt;/P&gt;&lt;P&gt;16799&lt;/P&gt;&lt;P&gt;172629&lt;/P&gt;&lt;P&gt;17361&lt;/P&gt;&lt;P&gt;21799&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use peek() and previous() in script but not working. Please assist .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"OpenUser_final3":&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;if(previousdealid=Previous(previousdealid),Null(),Previous(previousdealid)) as flag&lt;/P&gt;&lt;P&gt;Resident "OpenUser_final2"&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>suvechha_b</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Please assist.</title>
      <link>https://community.qlik.com/t5/QlikView/Please-assist/m-p/66102#M785572</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;How can I compare value of one row field with the other row of same field .&lt;/P&gt;&lt;P&gt;For eg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Non.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/195570_Non.PNG" style="height: 386px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if previousdealid value match the 1 elso 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement &lt;/P&gt;&lt;P&gt;For eg, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my result should have id -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;328&lt;/P&gt;&lt;P&gt;1653&lt;/P&gt;&lt;P&gt;3373&lt;/P&gt;&lt;P&gt;3385&lt;/P&gt;&lt;P&gt;16799&lt;/P&gt;&lt;P&gt;172629&lt;/P&gt;&lt;P&gt;17361&lt;/P&gt;&lt;P&gt;21799&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use peek() and previous() in script but not working. Please assist .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"OpenUser_final3":&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;if(previousdealid=Previous(previousdealid),Null(),Previous(previousdealid)) as flag&lt;/P&gt;&lt;P&gt;Resident "OpenUser_final2"&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-assist/m-p/66102#M785572</guid>
      <dc:creator>suvechha_b</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Please assist.</title>
      <link>https://community.qlik.com/t5/QlikView/Please-assist/m-p/66103#M785573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suvechha, using previous is almost required to use an 'order by' clause to sort the records, in this case it can be:&lt;/P&gt;&lt;P&gt;Order by previousdealid, DateJoinedKeyPL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can join both tables by dealerid to have both fields in the same row in date model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 14:27:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-assist/m-p/66103#M785573</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-03-07T14:27:19Z</dc:date>
    </item>
  </channel>
</rss>

