<?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 Extraction of timestamp based on condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extraction-of-timestamp-based-on-condition/m-p/366662#M492068</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;Issue centers around trying to establish one single "Closed date" for a Case. &lt;/P&gt;&lt;P&gt;There exists no official closed date field in the DB. The closed date is this case is actually the last post attached to the CaseNo. &lt;/P&gt;&lt;P&gt;Also because a case can only have one status at a time it is hard to create a condition to extract this field. &lt;/P&gt;&lt;P&gt;i.e when Status 'Closed' as in this case you recieve two fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore this table exists out of the original Case table where the startdate is found in another table called "History". Hence we must join both tables by means of Case_ID. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Case_ID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Updated&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Status&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;171&lt;/TD&gt;&lt;TD&gt;04-10-15 07:56:05&lt;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;171&lt;/TD&gt;&lt;TD&gt;04-10-15 07:57:14&lt;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;176&lt;/TD&gt;&lt;TD&gt;04-10-15 10:48:14&lt;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;176&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;04-10-15 10:50:17&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Closed&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;178&lt;/TD&gt;&lt;TD&gt;12-07-12 10:00:00&lt;/TD&gt;&lt;TD&gt;Registered&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mission with this is to extract the last post of every timestamp related to a Case_No in order to have an actual Close date, ie. 04-10-15 10:50:17 for case 176 and where the status is not = Closed then there should exist no close_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DB model connecting the fields is attached. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Tips on how we can 1. Extract the last post of the entry in Updated when status = 'closed', and how to ignore (give no value) to cases of other status types, ie Registered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jul 2012 09:06:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-25T09:06:55Z</dc:date>
    <item>
      <title>Extraction of timestamp based on condition</title>
      <link>https://community.qlik.com/t5/QlikView/Extraction-of-timestamp-based-on-condition/m-p/366662#M492068</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;Issue centers around trying to establish one single "Closed date" for a Case. &lt;/P&gt;&lt;P&gt;There exists no official closed date field in the DB. The closed date is this case is actually the last post attached to the CaseNo. &lt;/P&gt;&lt;P&gt;Also because a case can only have one status at a time it is hard to create a condition to extract this field. &lt;/P&gt;&lt;P&gt;i.e when Status 'Closed' as in this case you recieve two fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore this table exists out of the original Case table where the startdate is found in another table called "History". Hence we must join both tables by means of Case_ID. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Case_ID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Updated&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Status&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;171&lt;/TD&gt;&lt;TD&gt;04-10-15 07:56:05&lt;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;171&lt;/TD&gt;&lt;TD&gt;04-10-15 07:57:14&lt;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;176&lt;/TD&gt;&lt;TD&gt;04-10-15 10:48:14&lt;/TD&gt;&lt;TD&gt;Closed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;176&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;04-10-15 10:50:17&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Closed&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;178&lt;/TD&gt;&lt;TD&gt;12-07-12 10:00:00&lt;/TD&gt;&lt;TD&gt;Registered&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mission with this is to extract the last post of every timestamp related to a Case_No in order to have an actual Close date, ie. 04-10-15 10:50:17 for case 176 and where the status is not = Closed then there should exist no close_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DB model connecting the fields is attached. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Tips on how we can 1. Extract the last post of the entry in Updated when status = 'closed', and how to ignore (give no value) to cases of other status types, ie Registered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 09:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extraction-of-timestamp-based-on-condition/m-p/366662#M492068</guid>
      <dc:creator />
      <dc:date>2012-07-25T09:06:55Z</dc:date>
    </item>
  </channel>
</rss>

