<?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 Count status changes at a certain date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-status-changes-at-a-certain-date/m-p/286367#M712759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've done an intervalmatch so that I get each status for each person every day. What I want to do now is calculate who is a New customer.&lt;/P&gt;&lt;P&gt;The definition of a new customer is one that have moved from either&amp;nbsp; LEAD,INACTIVE, TEMPORARYINACTIVE to status ACTIVE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried using peek(,-1) to get the previous status but the problem is that I get all the persons that have changed from any prior status to ACTIVE at any date historically, I just need to count the ones that had a change from LEAD,INACTIVE, TEMPORARYINACTIVE to status ACTIVE at the date or date range of my choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uploaded an example and some testdata if anyone has any ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 May 2011 09:37:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-10T09:37:33Z</dc:date>
    <item>
      <title>Count status changes at a certain date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-status-changes-at-a-certain-date/m-p/286367#M712759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've done an intervalmatch so that I get each status for each person every day. What I want to do now is calculate who is a New customer.&lt;/P&gt;&lt;P&gt;The definition of a new customer is one that have moved from either&amp;nbsp; LEAD,INACTIVE, TEMPORARYINACTIVE to status ACTIVE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried using peek(,-1) to get the previous status but the problem is that I get all the persons that have changed from any prior status to ACTIVE at any date historically, I just need to count the ones that had a change from LEAD,INACTIVE, TEMPORARYINACTIVE to status ACTIVE at the date or date range of my choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uploaded an example and some testdata if anyone has any ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2011 09:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-status-changes-at-a-certain-date/m-p/286367#M712759</guid>
      <dc:creator />
      <dc:date>2011-05-10T09:37:33Z</dc:date>
    </item>
  </channel>
</rss>

