<?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 Interval Match accross 2 tables - Too complex for me !! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Interval-Match-accross-2-tables-Too-complex-for-me/m-p/551192#M686848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I currently have a dashboard which looks at rostered staff by hour.&amp;nbsp; I have created an interval match by hour to determine how many staff are rostered by department / day / Hour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1- Roster:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roster Date,&lt;/P&gt;&lt;P&gt;Person ID,&lt;/P&gt;&lt;P&gt;Roster Start Time,&lt;/P&gt;&lt;P&gt;Roster End Time,&lt;/P&gt;&lt;P&gt;Staff Level (Qualified / Unqualified),&lt;/P&gt;&lt;P&gt;Department;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; From Roster;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works great, however I now want to bring in the requirements by hour also. However I don't know how to combine the Interval match so that it will reflect the data.&amp;nbsp; The table I have for the requirements is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2 - Requirements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roster Date,&lt;/P&gt;&lt;P&gt;Department,&lt;/P&gt;&lt;P&gt;Staff Level,&lt;/P&gt;&lt;P&gt;Requirement Start Time,&lt;/P&gt;&lt;P&gt;Requirement End Time,&lt;/P&gt;&lt;P&gt;Staff Required;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Requirements;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output I need to see is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roster Date&lt;/P&gt;&lt;P&gt;Person ID&lt;/P&gt;&lt;P&gt;Time (Hour)&lt;/P&gt;&lt;P&gt;Staff Level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count Person ID (Rostered)&lt;/P&gt;&lt;P&gt;Sum Staff Required&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I could somehow link the intervalmatch with each other I think it would work, but I just can't get my head around it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realise this will give me duplicate data for the requirements (as it will not be grouped by department), however I can get around this by dividing it by the count of persod ID's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jan 2014 12:57:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-01-22T12:57:35Z</dc:date>
    <item>
      <title>Interval Match accross 2 tables - Too complex for me !!</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match-accross-2-tables-Too-complex-for-me/m-p/551192#M686848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I currently have a dashboard which looks at rostered staff by hour.&amp;nbsp; I have created an interval match by hour to determine how many staff are rostered by department / day / Hour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1- Roster:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roster Date,&lt;/P&gt;&lt;P&gt;Person ID,&lt;/P&gt;&lt;P&gt;Roster Start Time,&lt;/P&gt;&lt;P&gt;Roster End Time,&lt;/P&gt;&lt;P&gt;Staff Level (Qualified / Unqualified),&lt;/P&gt;&lt;P&gt;Department;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; From Roster;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works great, however I now want to bring in the requirements by hour also. However I don't know how to combine the Interval match so that it will reflect the data.&amp;nbsp; The table I have for the requirements is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2 - Requirements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roster Date,&lt;/P&gt;&lt;P&gt;Department,&lt;/P&gt;&lt;P&gt;Staff Level,&lt;/P&gt;&lt;P&gt;Requirement Start Time,&lt;/P&gt;&lt;P&gt;Requirement End Time,&lt;/P&gt;&lt;P&gt;Staff Required;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Requirements;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output I need to see is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roster Date&lt;/P&gt;&lt;P&gt;Person ID&lt;/P&gt;&lt;P&gt;Time (Hour)&lt;/P&gt;&lt;P&gt;Staff Level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count Person ID (Rostered)&lt;/P&gt;&lt;P&gt;Sum Staff Required&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I could somehow link the intervalmatch with each other I think it would work, but I just can't get my head around it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realise this will give me duplicate data for the requirements (as it will not be grouped by department), however I can get around this by dividing it by the count of persod ID's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 12:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match-accross-2-tables-Too-complex-for-me/m-p/551192#M686848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-22T12:57:35Z</dc:date>
    </item>
  </channel>
</rss>

