<?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 Working days hour calculation with non working days (Sat and Sun) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Working-days-hour-calculation-with-non-working-days-Sat-and-Sun/m-p/287472#M584219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems that I am stucked too...&lt;/P&gt;&lt;P&gt;Could you point me to the inaccuracy in your example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Sep 2011 10:04:37 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-09-24T10:04:37Z</dc:date>
    <item>
      <title>Working days hour calculation with non working days (Sat and Sun)</title>
      <link>https://community.qlik.com/t5/QlikView/Working-days-hour-calculation-with-non-working-days-Sat-and-Sun/m-p/287471#M584218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Query i think it is so easy but i am stuck on it little bit I use Interval match on that it works but not perfectly.&lt;/P&gt;&lt;P&gt;Query is i want to calculate work hours between two times Start and End, i am able to calculate hour difference but not accurate see sample example like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;BR /&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: white; font-family: 'Times New Roman', serif;"&gt;&lt;STRONG&gt;MON-FRI&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;SAT&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;SUN&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;0:15&lt;/TD&gt;&lt;TD&gt;4:00&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;2:00&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;2:00&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5:00&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0:48&lt;/TD&gt;&lt;TD&gt;5:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;F&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5:00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXAMPLE:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff; font-size: 10pt;"&gt;&lt;STRONG&gt;START&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: white; font-family: 'Times New Roman', serif;"&gt;End&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;DIFF&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;FRI Time&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Sat Time&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 10pt;"&gt;9/23/201111:45:00 PM &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 10pt;"&gt;9/24/20114:00:00 AM&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 10pt;"&gt;4:15:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 10pt;"&gt;00:15:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: 'Times New Roman', serif; font-size: 10pt;"&gt;4:00:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to calculate this please provide details&lt;/P&gt;&lt;P&gt;See my sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Sep 2011 10:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-days-hour-calculation-with-non-working-days-Sat-and-Sun/m-p/287471#M584218</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-09-24T10:01:12Z</dc:date>
    </item>
    <item>
      <title>Working days hour calculation with non working days (Sat and Sun)</title>
      <link>https://community.qlik.com/t5/QlikView/Working-days-hour-calculation-with-non-working-days-Sat-and-Sun/m-p/287472#M584219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems that I am stucked too...&lt;/P&gt;&lt;P&gt;Could you point me to the inaccuracy in your example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Sep 2011 10:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-days-hour-calculation-with-non-working-days-Sat-and-Sun/m-p/287472#M584219</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-09-24T10:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Working days hour calculation with non working days (Sat and Sun)</title>
      <link>https://community.qlik.com/t5/QlikView/Working-days-hour-calculation-with-non-working-days-Sat-and-Sun/m-p/287473#M584221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My point is in example a 00:15 mins is for Friday and 4:00 hours for saturday when i use Interval match it shows 4:15 but 15 mins are for friday i want only Saturday time and if it is Sunday so that time.Because 15 mins are come under working days which is 15 mins we are not take it under 24th date but it is of 23th date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best way to achieve this i try so many ways but not get acurate result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;BR /&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Sep 2011 10:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-days-hour-calculation-with-non-working-days-Sat-and-Sun/m-p/287473#M584221</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-09-24T10:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Working days hour calculation with non working days (Sat and Sun)</title>
      <link>https://community.qlik.com/t5/QlikView/Working-days-hour-calculation-with-non-working-days-Sat-and-Sun/m-p/287474#M584223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sure what the best solution is, but I used a while loop over the records in the script to get a record for each single weekday.&lt;/P&gt;&lt;P&gt;Then just parsed the hours worked each day into hoursworked using some if()s.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could be maybe more elegant, but it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Sep 2011 10:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-days-hour-calculation-with-non-working-days-Sat-and-Sun/m-p/287474#M584223</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-09-24T10:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Working days hour calculation with non working days (Sat and Sun)</title>
      <link>https://community.qlik.com/t5/QlikView/Working-days-hour-calculation-with-non-working-days-Sat-and-Sun/m-p/287475#M584224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much its good way that you provide but any other way we can generate and show the values like in this example, In this way i want output some thing like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="border-style: solid; border-color: #000000; font-size: 12px; margin-top: 1px; margin-bottom: 1px; float: none; width: 529px; border-width: 1px; padding: 3px;"&gt;&lt;TBODY style="font-size: 12px;"&gt;&lt;TR style="border-style: initial; border-color: initial; border-collapse: collapse; font-size: 12px;"&gt;&lt;TH align="center" style="background-color: #6690bc; border-width: 1px; border-color: #000000; border-style: solid;" valign="middle"&gt;&lt;BR /&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc; border-width: 1px; border-color: #000000; border-style: solid;" valign="middle"&gt;&lt;SPAN style="font-size: 10pt; color: #ffffff;"&gt;&lt;STRONG style="font-size: 13px;"&gt;&lt;STRONG style="font-size: 13px; color: white; font-family: 'Times New Roman', serif;"&gt;&lt;STRONG style="font-size: 13px;"&gt;MON-FRI&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc; border-width: 1px; border-color: #000000; border-style: solid;" valign="middle"&gt;&lt;SPAN style="font-size: 12px; color: #ffffff;"&gt;&lt;STRONG style="font-size: 12px;"&gt;SAT&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc; border-width: 1px; border-color: #000000; border-style: solid;" valign="middle"&gt;&lt;SPAN style="font-size: 12px; color: #ffffff;"&gt;&lt;STRONG style="font-size: 12px;"&gt;SUN&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: initial; border-collapse: collapse; font-size: 12px;"&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;A&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;0:15&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;4:00&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: initial; border-collapse: collapse; font-size: 12px;"&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;B&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;0&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;2:00&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: initial; border-collapse: collapse; font-size: 12px;"&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;C&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;2:00&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;0&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: initial; border-collapse: collapse; font-size: 12px;"&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;D&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;0&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;5:00&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: initial; border-collapse: collapse; font-size: 12px;"&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;E&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;0&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;0:48&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;5:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: initial; border-collapse: collapse; font-size: 12px;"&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;F&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;0&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;0&lt;/TD&gt;&lt;TD style="border-width: 1px; border-color: #000000; border-style: solid; padding: 3px; margin: 1px;"&gt;5:00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Sep 2011 17:53:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-days-hour-calculation-with-non-working-days-Sat-and-Sun/m-p/287475#M584224</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-09-24T17:53:50Z</dc:date>
    </item>
    <item>
      <title>Working days hour calculation with non working days (Sat and Sun)</title>
      <link>https://community.qlik.com/t5/QlikView/Working-days-hour-calculation-with-non-working-days-Sat-and-Sun/m-p/287476#M584225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;=if(Day &amp;lt; 5,'Mon - Fri', Day)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as calculated dimension in the chart (or similar in the script).&lt;/P&gt;&lt;P&gt;This gives you exactely your above table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Sep 2011 18:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-days-hour-calculation-with-non-working-days-Sat-and-Sun/m-p/287476#M584225</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-09-24T18:01:09Z</dc:date>
    </item>
  </channel>
</rss>

