<?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 Concurrent event analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concurrent-event-analysis/m-p/466214#M486162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new in QlikView and I'm trying to convert my masterpiece from Excel to QlikView. The attached Excel file shows the analysis of the number of concurrent events within a particular hour. The formula to determine the number of concurrent incidents within an hour is the &lt;STRONG&gt;sum of the followings&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL start="1"&gt;&lt;LI&gt;Any event happened at/after &lt;STRONG&gt;Start of Hour &lt;/STRONG&gt;and ended before &lt;STRONG&gt;End of Hour&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Any event happened at/after Start of Hour and ended after the next hour&lt;/LI&gt;&lt;LI&gt;Any event happened before Start of Hour and ended within the current hour&lt;/LI&gt;&lt;LI&gt;Any event happened before Start of Hour and ended after the next hour&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following diagram summarized the above situations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="39088" alt="Concurrent events.png" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/39088_Concurrent+events.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Excel formula I used on the "Analysis" Worksheet (see Column I) is an array function to do the sum of the above 4 scenarios. What should be the equivalent QlikView Edit Script syntax for this? I read some of the threads about IntervalMatch () with Count(distinct) but seems that is not generating the data I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel attachment updated by Alfred Shum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Apr 2013 07:38:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-18T07:38:33Z</dc:date>
    <item>
      <title>Concurrent event analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Concurrent-event-analysis/m-p/466214#M486162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new in QlikView and I'm trying to convert my masterpiece from Excel to QlikView. The attached Excel file shows the analysis of the number of concurrent events within a particular hour. The formula to determine the number of concurrent incidents within an hour is the &lt;STRONG&gt;sum of the followings&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL start="1"&gt;&lt;LI&gt;Any event happened at/after &lt;STRONG&gt;Start of Hour &lt;/STRONG&gt;and ended before &lt;STRONG&gt;End of Hour&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Any event happened at/after Start of Hour and ended after the next hour&lt;/LI&gt;&lt;LI&gt;Any event happened before Start of Hour and ended within the current hour&lt;/LI&gt;&lt;LI&gt;Any event happened before Start of Hour and ended after the next hour&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following diagram summarized the above situations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="39088" alt="Concurrent events.png" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/39088_Concurrent+events.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Excel formula I used on the "Analysis" Worksheet (see Column I) is an array function to do the sum of the above 4 scenarios. What should be the equivalent QlikView Edit Script syntax for this? I read some of the threads about IntervalMatch () with Count(distinct) but seems that is not generating the data I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel attachment updated by Alfred Shum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 07:38:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concurrent-event-analysis/m-p/466214#M486162</guid>
      <dc:creator />
      <dc:date>2013-04-18T07:38:33Z</dc:date>
    </item>
  </channel>
</rss>

