<?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 Excluding Non operational Hour's in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Excluding-Non-operational-Hour-s/m-p/2463134#M99014</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have Ticket reported date='12/12/2023 19:23:00' and Ticket resolved date=' 14/12/2023 10:33:00'&lt;/P&gt;
&lt;P&gt;basically operation hours start from morning 6am to 23:59pm&lt;/P&gt;
&lt;P&gt;if we calculate time difference between will get 35.33hr's between dates. I want to exclude non operational hours which is from 12:01 AM&amp;nbsp; to 5:59 AM hours need to exclude from total hours with respective dates&lt;/P&gt;
&lt;P&gt;Example: from reported date 37min+4 hours=4:37hr's&lt;/P&gt;
&lt;P&gt;13/12/2023 have 24hr's operational hours=18&lt;/P&gt;
&lt;P&gt;14/12/2023 have 10:33hr- 6hrs non operational hrs(12:01 AM&amp;nbsp; to 5:59 AM)=4:33hrs&lt;/P&gt;
&lt;P&gt;finally total operational hours b/w dates=26.7 hr's&lt;/P&gt;
&lt;P&gt;In this case operational hours coming as i expected.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="praveensai491_3-1718646285913.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168043i804915D8C64CEB66/image-size/medium?v=v2&amp;amp;px=400" role="button" title="praveensai491_3-1718646285913.png" alt="praveensai491_3-1718646285913.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;issue wt iam facing will be highlighted in yellow.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="praveensai491_2-1718646262113.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168042i85E0B41559D5ADEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="praveensai491_2-1718646262113.png" alt="praveensai491_2-1718646262113.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1st 4rows time coming correctly&lt;/P&gt;
&lt;P&gt;5th row actual output will be: 9:30min&lt;/P&gt;
&lt;P&gt;6th row actual output will be: 9:30min&lt;/P&gt;
&lt;P&gt;7th row actual output will be: 10:30min&lt;/P&gt;
&lt;P&gt;8th row actual output will be: 4:30min&lt;/P&gt;
&lt;P&gt;5th row actual output will be: 4:12min&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Praveen&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2024 17:46:21 GMT</pubDate>
    <dc:creator>praveensai491</dc:creator>
    <dc:date>2024-06-17T17:46:21Z</dc:date>
    <item>
      <title>Excluding Non operational Hour's</title>
      <link>https://community.qlik.com/t5/App-Development/Excluding-Non-operational-Hour-s/m-p/2463134#M99014</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have Ticket reported date='12/12/2023 19:23:00' and Ticket resolved date=' 14/12/2023 10:33:00'&lt;/P&gt;
&lt;P&gt;basically operation hours start from morning 6am to 23:59pm&lt;/P&gt;
&lt;P&gt;if we calculate time difference between will get 35.33hr's between dates. I want to exclude non operational hours which is from 12:01 AM&amp;nbsp; to 5:59 AM hours need to exclude from total hours with respective dates&lt;/P&gt;
&lt;P&gt;Example: from reported date 37min+4 hours=4:37hr's&lt;/P&gt;
&lt;P&gt;13/12/2023 have 24hr's operational hours=18&lt;/P&gt;
&lt;P&gt;14/12/2023 have 10:33hr- 6hrs non operational hrs(12:01 AM&amp;nbsp; to 5:59 AM)=4:33hrs&lt;/P&gt;
&lt;P&gt;finally total operational hours b/w dates=26.7 hr's&lt;/P&gt;
&lt;P&gt;In this case operational hours coming as i expected.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="praveensai491_3-1718646285913.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168043i804915D8C64CEB66/image-size/medium?v=v2&amp;amp;px=400" role="button" title="praveensai491_3-1718646285913.png" alt="praveensai491_3-1718646285913.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;issue wt iam facing will be highlighted in yellow.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="praveensai491_2-1718646262113.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168042i85E0B41559D5ADEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="praveensai491_2-1718646262113.png" alt="praveensai491_2-1718646262113.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1st 4rows time coming correctly&lt;/P&gt;
&lt;P&gt;5th row actual output will be: 9:30min&lt;/P&gt;
&lt;P&gt;6th row actual output will be: 9:30min&lt;/P&gt;
&lt;P&gt;7th row actual output will be: 10:30min&lt;/P&gt;
&lt;P&gt;8th row actual output will be: 4:30min&lt;/P&gt;
&lt;P&gt;5th row actual output will be: 4:12min&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Praveen&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 17:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Excluding-Non-operational-Hour-s/m-p/2463134#M99014</guid>
      <dc:creator>praveensai491</dc:creator>
      <dc:date>2024-06-17T17:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding Non operational Hour's</title>
      <link>https://community.qlik.com/t5/App-Development/Excluding-Non-operational-Hour-s/m-p/2463394#M99032</link>
      <description>&lt;P&gt;A quite simple approach would be to create an appropriate mapping-table which contained a timestamp on date + hour/minute level as lookup-value and a continuous number as return - maybe simply rowno(). It's quite similar to a calendar-generation and the 0 - 5 hours are excluded with a&amp;nbsp; where-clause.&lt;/P&gt;
&lt;P&gt;It will result 394 k of records for one year and even by 10 years it's further practicably useable for a mapping. And then you grab the value with something:&lt;/P&gt;
&lt;P&gt;interval(1/24/60 * (applymap('Map', EndDate) -&amp;nbsp;applymap('Map', StartDate))) as MyField&lt;/P&gt;
&lt;P&gt;Such approach avoids numerous if-loops and could also easily handle advanced requirements like breaks, weekends, holidays ...&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 11:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Excluding-Non-operational-Hour-s/m-p/2463394#M99032</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-06-18T11:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding Non operational Hour's</title>
      <link>https://community.qlik.com/t5/App-Development/Excluding-Non-operational-Hour-s/m-p/2465265#M99158</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/286811"&gt;@praveensai491&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Have you got the correct logic for this? I need the same.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 10:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Excluding-Non-operational-Hour-s/m-p/2465265#M99158</guid>
      <dc:creator>PrachiKulkarni</dc:creator>
      <dc:date>2024-06-25T10:38:24Z</dc:date>
    </item>
  </channel>
</rss>

