<?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 Re: Load script to determine end dates for IntervalMatch in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-script-to-determine-end-dates-for-IntervalMatch/m-p/812281#M659931</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this kinda what you need?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Mar 2015 02:18:00 GMT</pubDate>
    <dc:creator>Alejandro_Hernández</dc:creator>
    <dc:date>2015-03-28T02:18:00Z</dc:date>
    <item>
      <title>Load script to determine end dates for IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-to-determine-end-dates-for-IntervalMatch/m-p/812280#M659930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Attached is an example qvw of my situation.&amp;nbsp; For each ID, there is State and state timestamp, which is the start of that state.&amp;nbsp; What I want is a field of the end timestamp for that state, which is at the next state timestamp or the MaxDate if there is no state transition (the last state).&amp;nbsp; This field would then be used with the IntervalMatch to get a table that contains the state at that particular day (StateDays). An example of what I mean is for ID = 1, State A end timestamp would be 11/4/2014 6:03:10 PM (probably 11/4/2014 6:03:09 PM so that is there is no confusion between end of State A and start of State B).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be great.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, the real qvd has ~50,000 IDs, but reload is only every 4 hours.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 00:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-to-determine-end-dates-for-IntervalMatch/m-p/812280#M659930</guid>
      <dc:creator />
      <dc:date>2015-03-28T00:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Load script to determine end dates for IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-to-determine-end-dates-for-IntervalMatch/m-p/812281#M659931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this kinda what you need?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 02:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-to-determine-end-dates-for-IntervalMatch/m-p/812281#M659931</guid>
      <dc:creator>Alejandro_Hernández</dc:creator>
      <dc:date>2015-03-28T02:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Load script to determine end dates for IntervalMatch</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-to-determine-end-dates-for-IntervalMatch/m-p/812282#M659932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read this.&amp;nbsp; It is exactly what you need and provides further actions if you want to get more complex with the interval concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2960"&gt;Creating a Date Interval from a Single Date&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 04:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-to-determine-end-dates-for-IntervalMatch/m-p/812282#M659932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-28T04:06:42Z</dc:date>
    </item>
  </channel>
</rss>

