<?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 Check time difference since last action in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Check-time-difference-since-last-action/m-p/1137318#M20065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been searching for an answer to this one for a while, but I couldn't figure it out based on existing posts, so I decided to ask a question instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario where I have a table with events. These events have a DATE, a PERSON_ID and an EVENT_TYPE.&lt;/P&gt;&lt;P&gt;I would like to check, using set analysis, what is the avg time between 2 different actions.&lt;/P&gt;&lt;P&gt;Meaning, I'd like to know how long it took from since a person had an event of type 'BOOKING' to an event of type 'SALE'.&lt;/P&gt;&lt;P&gt;Also, it is possible the person never had the previous action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using above() with combination with aggr() to try and check the actions done previously by the person, but I couldn't ge it to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone please give me an example for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Aug 2016 06:21:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-19T06:21:27Z</dc:date>
    <item>
      <title>Check time difference since last action</title>
      <link>https://community.qlik.com/t5/App-Development/Check-time-difference-since-last-action/m-p/1137318#M20065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been searching for an answer to this one for a while, but I couldn't figure it out based on existing posts, so I decided to ask a question instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario where I have a table with events. These events have a DATE, a PERSON_ID and an EVENT_TYPE.&lt;/P&gt;&lt;P&gt;I would like to check, using set analysis, what is the avg time between 2 different actions.&lt;/P&gt;&lt;P&gt;Meaning, I'd like to know how long it took from since a person had an event of type 'BOOKING' to an event of type 'SALE'.&lt;/P&gt;&lt;P&gt;Also, it is possible the person never had the previous action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using above() with combination with aggr() to try and check the actions done previously by the person, but I couldn't ge it to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone please give me an example for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 06:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Check-time-difference-since-last-action/m-p/1137318#M20065</guid>
      <dc:creator />
      <dc:date>2016-08-19T06:21:27Z</dc:date>
    </item>
  </channel>
</rss>

