<?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: Compare start and stop times in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-minute-of-day-with-multiple-variables/m-p/1292189#M623164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe helpful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-2380"&gt;QlikCommunity Tip: How to get answers to your post?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3098"&gt;Its not about the answer, rather it’s about the question…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Dec 2016 22:09:56 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2016-12-28T22:09:56Z</dc:date>
    <item>
      <title>Comparing minute of day with multiple variables</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-minute-of-day-with-multiple-variables/m-p/1292186#M623161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to build load statements that would compare surgical block times to actual times to determine operating room utilization.&amp;nbsp; I have tried using interval match but it doesn't seem to get me the results I expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one load statement that creates a table which contains the following elements:&lt;/P&gt;&lt;P&gt;- service line&lt;/P&gt;&lt;P&gt;- start date&lt;/P&gt;&lt;P&gt;- end date&lt;/P&gt;&lt;P&gt;- start time&lt;/P&gt;&lt;P&gt;- end time&lt;/P&gt;&lt;P&gt;- campus&lt;/P&gt;&lt;P&gt;- day of week&lt;/P&gt;&lt;P&gt;- week number&lt;/P&gt;&lt;P&gt;- room&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order for a case to be considered in block the case start and stop times must meet all the above criteria. For example:&lt;/P&gt;&lt;P&gt;Service Line Orthopedics has block on the 3rd Monday of the month at the Main OR between 0700-1500 in 2 different rooms.&lt;/P&gt;&lt;P&gt;Case A is an orthopedics case which occurred on the 3rd Monday of the month at the Main OR with a start time of 1200 and end time of 1600.&amp;nbsp; This particular case would be considered in-block between 1200 and 1500 and then 1500-1600 would be considered out of block. I would also need to account for the number of rooms going at the same time to account for overbooking (if orthopedics had 3 cases going at 1200, 2 would be in-block and the third would be overbook)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the best method for tackling this request?&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>Tue, 20 Dec 2016 15:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-minute-of-day-with-multiple-variables/m-p/1292186#M623161</guid>
      <dc:creator>andrewmo</dc:creator>
      <dc:date>2016-12-20T15:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Compare start and stop times</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-minute-of-day-with-multiple-variables/m-p/1292187#M623162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post an example application including some sample data as well as your expected result.&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;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 22:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-minute-of-day-with-multiple-variables/m-p/1292187#M623162</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-12-20T22:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Compare start and stop times</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-minute-of-day-with-multiple-variables/m-p/1292188#M623163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that is part of my problem; not sure how to script it for my expected result. Here is pseudo code:&lt;/P&gt;&lt;P&gt;CASES:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CASE_ID, PROC_DATE, PROC_DOW, PROC_WEEKNUM,&amp;nbsp; IN_DTTM, OUT_DTTM, LOCATION, ROOM,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROV_ID, SERVLINE&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OR.QVD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BLOCK:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SERVLINE, DOW, WEEKNUM, STARTDATE, ENDDATE, STARTTIME, ENDTIME, CAMPUS, ROOM&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BLK.QVD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the criteria for in-block:&lt;/P&gt;&lt;P&gt;SERVLINE from CASES = SERVLINE from BLOCK&lt;/P&gt;&lt;P&gt;PROC_DATE from CASES must be between STARTDATE and ENDDATE from Block AND&lt;/P&gt;&lt;P&gt;IN_DTTM from CASES must be &amp;gt;= STARTTIME from BLOCK AND&lt;/P&gt;&lt;P&gt;OUT_DTTM from CASES must be &amp;lt;= ENDTIME from BLOCK AND&lt;/P&gt;&lt;P&gt;PROC_DOW from CASES = DOW from BLOCK AND&lt;/P&gt;&lt;P&gt;PROC_WEEKNUM from CASES = WEEKNUM from BLOCK AND&lt;/P&gt;&lt;P&gt;LOCATION from CASES = CAMPUS from BLOCK AND&lt;/P&gt;&lt;P&gt;(tricky part)&lt;/P&gt;&lt;P&gt;How do I create a Boolean flag : if minute of day = minute of day from STARTDATE = 1 ELSE 0&lt;/P&gt;&lt;P&gt;I want to be able to see at 07:33 SERVLINE 'Ortho' had 3 cases going and at 07:35 &lt;SPAN style="font-size: 13.3333px;"&gt;SERVLINE 'Ortho' had 2 cases going because one finished...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 16:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-minute-of-day-with-multiple-variables/m-p/1292188#M623163</guid>
      <dc:creator>andrewmo</dc:creator>
      <dc:date>2016-12-28T16:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Compare start and stop times</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-minute-of-day-with-multiple-variables/m-p/1292189#M623164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe helpful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-2380"&gt;QlikCommunity Tip: How to get answers to your post?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3098"&gt;Its not about the answer, rather it’s about the question…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 22:09:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-minute-of-day-with-multiple-variables/m-p/1292189#M623164</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-12-28T22:09:56Z</dc:date>
    </item>
  </channel>
</rss>

