<?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 Applymap with time range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Applymap-with-time-range/m-p/682695#M668446</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;I have data from an Oracle database, where there is a field called MSG_DATE_TIME which is of data type = "timestamp (6) with local time zone".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the main table updates with a new row, the mapping table updates immediately after, with a few milliseconds delay, like 5 milliseconds. I want to map the FIXING_STATE, so the mapping load would be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mapstate:&lt;/P&gt;&lt;P&gt;MAPPING LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MSG_DATE_TIME &amp;amp; ' ' &amp;amp; DESCRIPTION,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FIXING_STATE&lt;/P&gt;&lt;P&gt;Resident mappingtable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the MSG_DATE_TIME in the main table and mapping table lag by 5 milliseconds. How can the mapping be done such that the applymap statement can accommodate the 5 millisecond lag time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logic would be something like this:&lt;/P&gt;&lt;P&gt;applymap('mapstate',MSG_DATE_TIME &lt;STRONG&gt;within 5 milliseconds&lt;/STRONG&gt; &amp;amp; ' ' &amp;amp; DESCRIPTION)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Oct 2014 01:27:29 GMT</pubDate>
    <dc:creator>sifatnabil</dc:creator>
    <dc:date>2014-10-23T01:27:29Z</dc:date>
    <item>
      <title>Applymap with time range</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-with-time-range/m-p/682695#M668446</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;I have data from an Oracle database, where there is a field called MSG_DATE_TIME which is of data type = "timestamp (6) with local time zone".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the main table updates with a new row, the mapping table updates immediately after, with a few milliseconds delay, like 5 milliseconds. I want to map the FIXING_STATE, so the mapping load would be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mapstate:&lt;/P&gt;&lt;P&gt;MAPPING LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MSG_DATE_TIME &amp;amp; ' ' &amp;amp; DESCRIPTION,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FIXING_STATE&lt;/P&gt;&lt;P&gt;Resident mappingtable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the MSG_DATE_TIME in the main table and mapping table lag by 5 milliseconds. How can the mapping be done such that the applymap statement can accommodate the 5 millisecond lag time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logic would be something like this:&lt;/P&gt;&lt;P&gt;applymap('mapstate',MSG_DATE_TIME &lt;STRONG&gt;within 5 milliseconds&lt;/STRONG&gt; &amp;amp; ' ' &amp;amp; DESCRIPTION)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 01:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-with-time-range/m-p/682695#M668446</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2014-10-23T01:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap with time range</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-with-time-range/m-p/682696#M668447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe you could use intervalmatch instead of mapping load / applymap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 21:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-with-time-range/m-p/682696#M668447</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-10-24T21:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap with time range</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-with-time-range/m-p/682697#M668448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the corresponding updates to both tables maintain their relative order, you could sequentially number records in each table ordered by timestamp and use that instead of timestamps for matching records. Using ranges would make me nervous about overlaps, althouth that depends on frequency of updates vs lag period.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 22:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-with-time-range/m-p/682697#M668448</guid>
      <dc:creator>kuba_michalik</dc:creator>
      <dc:date>2014-10-24T22:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap with time range</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-with-time-range/m-p/682698#M668449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rahman, May be you can remove the milliseconds from both dates and do apply map if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, use the IntervelMatch instead of applymap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Oct 2014 14:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-with-time-range/m-p/682698#M668449</guid>
      <dc:creator />
      <dc:date>2014-10-25T14:08:57Z</dc:date>
    </item>
  </channel>
</rss>

