<?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 Is there a function that works opposite to the previous() function ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517815#M481514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of looking at who the new customers are, I would like to identify which customers have been churned out in the next period. So looking for a function that works opposite to the previous() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Oct 2013 04:37:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-07T04:37:05Z</dc:date>
    <item>
      <title>Is there a function that works opposite to the previous() function ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517815#M481514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of looking at who the new customers are, I would like to identify which customers have been churned out in the next period. So looking for a function that works opposite to the previous() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 04:37:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517815#M481514</guid>
      <dc:creator />
      <dc:date>2013-10-07T04:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function that works opposite to the previous() function ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517816#M481515</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;The same previous condition itself can do your requirement&lt;/P&gt;&lt;P&gt;Just check if(previous(Customer)=Customer,'1','0') AS Flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here who having 1 the existing customer or they are the new one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 05:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517816#M481515</guid>
      <dc:creator />
      <dc:date>2013-10-07T05:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function that works opposite to the previous() function ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517817#M481516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Amutha.&lt;/P&gt;&lt;P&gt;I realized the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 05:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517817#M481516</guid>
      <dc:creator />
      <dc:date>2013-10-07T05:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function that works opposite to the previous() function ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517818#M481517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another variant:&lt;/P&gt;&lt;P&gt;IF(NOT Previous(Customer)=Customer,0,1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 20:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517818#M481517</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-14T20:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function that works opposite to the previous() function ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517819#M481518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There´s no function to "look ahead" into dataflow to check what would be your next value to a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should rewrite your logic as recommended by &lt;A href="https://community.qlik.com/qlik-users/123685"&gt;Amuthabharathi Subramanian&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 20:15:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517819#M481518</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-10-14T20:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function that works opposite to the previous() function ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517820#M481519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;try Peek() function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 22:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517820#M481519</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2013-10-14T22:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function that works opposite to the previous() function ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517821#M481520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking to do something very similar. I have a field called 'FlowDirection'. If the record ahead has a value of 'Backwatrds' I want the field I'm creating to have 'Y' else 'N'. I don't quite see how I can fit this into the logic provided thus far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 09:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517821#M481520</guid>
      <dc:creator />
      <dc:date>2014-01-14T09:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function that works opposite to the previous() function ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517822#M481521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it dependent of the current field that is being analysed?&lt;/P&gt;&lt;P&gt;You can do it in 2 steps, first flag the FlowDirection with backwatrds as Yes in Flag 1.&lt;/P&gt;&lt;P&gt;then, reverse the sort order&lt;/P&gt;&lt;P&gt;and then use the Previous function to flag your final flag for this who have yes in Flag 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 11:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517822#M481521</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-14T11:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function that works opposite to the previous() function ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517823#M481522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks eruditio, that work work spot on.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 13:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517823#M481522</guid>
      <dc:creator />
      <dc:date>2014-01-14T13:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a function that works opposite to the previous() function ?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517824#M481523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;glad to be of help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 13:51:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-there-a-function-that-works-opposite-to-the-previous-function/m-p/517824#M481523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-14T13:51:23Z</dc:date>
    </item>
  </channel>
</rss>

