<?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: Problem with Previous function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-Previous-function/m-p/1372337#M419234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shweta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this may be what you are trying to do?&lt;/P&gt;&lt;P&gt;Using the previous function you can do the comparison, however i would be careful of 2 points&lt;/P&gt;&lt;P&gt;1 - the start of the file as this will always be null so you will need to default it&lt;/P&gt;&lt;P&gt;2 - the ordering of the data i.e. you may need to change the ordering of the data from the source to get the grouping correct when you have multiple id's and also nest the previous function on the id's to cope with when they change in the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;/P&gt;&lt;P&gt;Ta Paul &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jul 2017 12:19:14 GMT</pubDate>
    <dc:creator>paulferguson80</dc:creator>
    <dc:date>2017-07-26T12:19:14Z</dc:date>
    <item>
      <title>Problem with Previous function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Previous-function/m-p/1372335#M419232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I have a scenario where if the value of ID&amp;nbsp; change from Yes(last month) to No (current month) then its status is yes.&lt;/P&gt;&lt;P&gt;I have created the mapping table for the same &amp;amp; perform the applymap after performing the group by using ID and month &amp;amp; order by ID and timestamp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the single status of ID for particular month,but we are getting double status for same ID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="352"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;ID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Month&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Value&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Status&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="96"&gt;TimeStamp&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Jul-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;No&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;7/13/2017 11:05&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Jul-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;No&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;T&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;7/12/2017 11:46&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Jun-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;6/8/2017 11:34&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/1/2017 16:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/2/2017 16:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/3/2017 16:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/4/2017 16:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/5/2017 16:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/8/2017 16:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/9/2017 16:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/10/2017 16:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/10/2017 17:06&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Required output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="345"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;ID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Month&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Value&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Status&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="89"&gt;TimeStamp&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Jul-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;No&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;T&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;7/13/2017 11:05&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Jun-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;6/8/2017 11:34&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/1/2017 16:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/2/2017 16:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/3/2017 16:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/4/2017 16:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/5/2017 16:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/8/2017 16:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/9/2017 16:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/10/2017 16:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;" width="64"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;May-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;Yes&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;F&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5/10/2017 17:06&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2017 06:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Previous-function/m-p/1372335#M419232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-26T06:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Previous function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Previous-function/m-p/1372336#M419233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand the need for Mapping Table? What exactly are you doing with it? Also, I am not sure I understand the output you are looking to get.... Can you explain the logic?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2017 11:46:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Previous-function/m-p/1372336#M419233</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-26T11:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Previous function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Previous-function/m-p/1372337#M419234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shweta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this may be what you are trying to do?&lt;/P&gt;&lt;P&gt;Using the previous function you can do the comparison, however i would be careful of 2 points&lt;/P&gt;&lt;P&gt;1 - the start of the file as this will always be null so you will need to default it&lt;/P&gt;&lt;P&gt;2 - the ordering of the data i.e. you may need to change the ordering of the data from the source to get the grouping correct when you have multiple id's and also nest the previous function on the id's to cope with when they change in the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;/P&gt;&lt;P&gt;Ta Paul &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2017 12:19:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Previous-function/m-p/1372337#M419234</guid>
      <dc:creator>paulferguson80</dc:creator>
      <dc:date>2017-07-26T12:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Previous function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Previous-function/m-p/1372338#M419235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please the required output sheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 04:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Previous-function/m-p/1372338#M419235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-27T04:23:41Z</dc:date>
    </item>
  </channel>
</rss>

