<?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: How to calculate interval between items in list box? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-interval-between-items-in-list-box/m-p/360544#M133876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;look at this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- load only up or down states&lt;/P&gt;&lt;P&gt;+ make a loop each router&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and of course sort by time (i hope the states goes up dopw up down.... each router? (after deleting random))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function &lt;STRONG&gt;previous() &lt;/STRONG&gt;could be helpfull for you (becouse i recomend calculating time inside the loading script)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jul 2012 13:47:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-20T13:47:15Z</dc:date>
    <item>
      <title>How to calculate interval between items in list box?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-interval-between-items-in-list-box/m-p/360543#M133875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, guys! &lt;/P&gt;&lt;P&gt;I have such case: There are some routers which can be in different statuses: "Up", "Down", and random status which can describe the current state of a router. When router changes its status, the status record creates in the table. It containes timestamp and status message. I need to culculate the total time when router was offline during the reporting period. That means that I need to miss all status messages between "Up" and "Down" from the table and calculate the interval of time between each pair of Up and Down status messages then get the sum of it. &lt;/P&gt;&lt;P&gt;I need some help, I'm fighting with it all this day, but worthless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 13:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-interval-between-items-in-list-box/m-p/360543#M133875</guid>
      <dc:creator />
      <dc:date>2012-07-20T13:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate interval between items in list box?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-interval-between-items-in-list-box/m-p/360544#M133876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;look at this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- load only up or down states&lt;/P&gt;&lt;P&gt;+ make a loop each router&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and of course sort by time (i hope the states goes up dopw up down.... each router? (after deleting random))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function &lt;STRONG&gt;previous() &lt;/STRONG&gt;could be helpfull for you (becouse i recomend calculating time inside the loading script)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 13:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-interval-between-items-in-list-box/m-p/360544#M133876</guid>
      <dc:creator />
      <dc:date>2012-07-20T13:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate interval between items in list box?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-interval-between-items-in-list-box/m-p/360545#M133877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works correctly but I need to calculate the offline time for several routers. What should I do then? As I see it, I need to create the loop for each router. Am I right? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 16:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-interval-between-items-in-list-box/m-p/360545#M133877</guid>
      <dc:creator />
      <dc:date>2012-07-20T16:09:46Z</dc:date>
    </item>
  </channel>
</rss>

