<?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: Urgent: calculating working hours from 2 date fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851718#M1020200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't need seconds, it is enough to modify "Number" format in the chart properties for your expression.&amp;nbsp; Change hh:mm: ss to hh:mm&lt;/P&gt;&lt;P&gt;No need to modify this part of the script, it returns End and Start in a numeric format anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Apr 2015 14:16:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-03T14:16:11Z</dc:date>
    <item>
      <title>Urgent: calculating working hours from 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851712#M1020194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have 2 date fields [Issue Open Time] and [Issue Closed Time] which are of the following format: 1/27/2015 12:00 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Requirement is:&lt;/P&gt;&lt;P&gt;To calculate the hour difference between the two fields based on working hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Working hours: 10 AM to 7 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say 1 ticket is opened at 11 AM and closed at 2 PM same day. The difference will be 3 hours (simple one)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But lets say, another ticket was opened on 1/27/2015 5 PM and was closed next day 1/28/2015 11.30 AM.&lt;/P&gt;&lt;P&gt;So the period for which the ticket was opened would be:&lt;/P&gt;&lt;P&gt;2 hours from 1/27 ( 5 PM to 7 PM)&lt;/P&gt;&lt;P&gt;and 1.30 hours from 1/28&amp;nbsp; (10 AM to 11.30 AM) = TOTAL 3.30 hours&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know how I can get this value (duration for which the ticket was opened)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 11:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851712#M1020194</guid>
      <dc:creator>sayadutt</dc:creator>
      <dc:date>2015-04-03T11:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: calculating working hours from 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851713#M1020195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Provide sample data or dummy lines.. would work on this for you....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 11:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851713#M1020195</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-04-03T11:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: calculating working hours from 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851714#M1020196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There was a similar question last year, and my response is attached.&amp;nbsp; The only difference that I have working ours from 8 am to 6 pm, but you can change it, see variables in the script on lines 12 and 13.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 11:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851714#M1020196</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-03T11:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: calculating working hours from 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851715#M1020197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;Yes, this is exactly what I am looking for.&lt;/P&gt;&lt;P&gt;However, the only difference we have is in the time and date format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Format:&lt;/P&gt;&lt;P&gt;SET TimeFormat='h:mm:ss TT';&lt;/P&gt;&lt;P&gt;SET DateFormat='M/D/YYYY';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='M/D/YYYY h:mm:ss[.fff] TT';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Format:&lt;/P&gt;&lt;P&gt;SET TimeFormat='hh:mm:ss';&lt;/P&gt;&lt;P&gt;SET DateFormat='MM/DD/YYYY';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='M/D/YYYY hh:mm:ss';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please send me the qvw in my format please. I am loading the data from sharepoint and have to follow this.&lt;/P&gt;&lt;P&gt;Example of my format: 1/13/2015 4:15 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the workhour field should show me the difference in hours only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please help. I am pretty new in qlikview&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 12:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851715#M1020197</guid>
      <dc:creator>sayadutt</dc:creator>
      <dc:date>2015-04-03T12:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: calculating working hours from 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851716#M1020198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached.&amp;nbsp; In the script, I only changed the format settings and the sample data in the inline load&lt;/P&gt;&lt;P&gt;To convert to hours only,- see additional expression in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: the attachment was wrong - fixed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 13:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851716#M1020198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-03T13:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: calculating working hours from 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851717#M1020199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't need the seconds in the time field.&lt;/P&gt;&lt;P&gt;My format is 10/12/2013 &lt;STRONG style="font-size: 13.3333330154419px;"&gt;9:00 AM&lt;/STRONG&gt; while yours is 10/12/2013&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt; 9:00:00 AM&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i need to make any changes in the below code: to remove the seconds part?(line 29 to 35)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(WeekDay(DateInitial)&amp;lt;5,&lt;/P&gt;&lt;P&gt;&amp;nbsp; rangemin(rangemax(&lt;EM&gt;DateInitial,(floor(DateInitial) + $(vStartTime)/24)),floor(DateInitial)+$(vEndTime)/24) ,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; floor(DateInitial)+(7-WeekDay(DateInitial))+$(vStartTime)/24 ) as Start,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(WeekDay(DateEnd)&amp;lt;5,&lt;/P&gt;&lt;P&gt;&amp;nbsp; rangemax( rangemin&lt;EM&gt;(DateEnd,(floor(DateEnd) + $(vEndTime)/24)),floor(DateEnd)+$(vStartTime)/24),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; floor(DateEnd)+(4-WeekDay(DateEnd))+$(vEndTime)/24 ) as End&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 14:08:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851717#M1020199</guid>
      <dc:creator>sayadutt</dc:creator>
      <dc:date>2015-04-03T14:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: calculating working hours from 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851718#M1020200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't need seconds, it is enough to modify "Number" format in the chart properties for your expression.&amp;nbsp; Change hh:mm: ss to hh:mm&lt;/P&gt;&lt;P&gt;No need to modify this part of the script, it returns End and Start in a numeric format anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 14:16:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851718#M1020200</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-03T14:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: calculating working hours from 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851719#M1020201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Michael. Its worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 14:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851719#M1020201</guid>
      <dc:creator>sayadutt</dc:creator>
      <dc:date>2015-04-03T14:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: calculating working hours from 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851720#M1020202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;Your solution is perfect when we load inline data and have Key as the 1st column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am loading data which has the following columns. Can you please modify the attached sample.&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;&amp;nbsp; Project, Release, DateInitial, DateEnd, Hours&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, b, 10/12/2013 9:00:00 AM, 10/14/2013 9:00:00 AM, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, b, 10/11/2013 5:00:00 PM, 10/12/2013 8:40:25 AM, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2, c, 10/11/2013 8:41:03 AM, 10/14/2013 8:43:11 AM, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2, c, 10/14/2013 8:39:09 AM, 10/14/2013 6:59:11 PM, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, c, 10/14/2013 8:39:09 AM, 10/14/2013 10:39:11 AM, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, b, 10/14/2013 8:39:09 AM, 10/15/2013 8:39:11 AM, 1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently the sample is showing 1,c -- as thats the unique row wrt Project release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we display for all 6 rows?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 12:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851720#M1020202</guid>
      <dc:creator>sayadutt</dc:creator>
      <dc:date>2015-04-10T12:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: calculating working hours from 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851721#M1020203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;I added a unique identifier (line 16 in the script), used it for join (line 27), and added in the table dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 13:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851721#M1020203</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-10T13:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: calculating working hours from 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851722#M1020208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michael, it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 1 more updation I need for help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DateEnd can be blank. (when the ticket is still in open state). For this scenario we need the count the downtime based on system reload time. From the time ticket is opened till now (when reloaded).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample data:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * Inline [&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Project, Release, DateInitial, DateEnd&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; 1, b, 10/12/2013 9:00:00 AM, 10/14/2013 9:00:00 AM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; 1, b, 10/11/2013 5:00:00 PM, 10/12/2013 8:40:25 AM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; 2, c, 10/11/2013 8:41:03 AM, 10/14/2013 8:43:11 AM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; 2, c, 10/14/2013 8:39:09 AM, 10/14/2013 6:59:11 PM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; 1, c, 10/14/2013 8:39:09 AM, 10/14/2013 10:39:11 AM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; 1, b, 10/14/2013 8:39:09 AM,&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;];&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;last row ticket is still open&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Apr 2015 07:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851722#M1020208</guid>
      <dc:creator>sayadutt</dc:creator>
      <dc:date>2015-04-11T07:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: calculating working hours from 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851723#M1020211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to replace the missing DateEnd with the current time using function now().&amp;nbsp; In case of inline load, you can do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;BR /&gt;LOAD &lt;BR /&gt; RowNo() as Key,&lt;BR /&gt; Project,&lt;BR /&gt; Release,&lt;BR /&gt; DateInitial,&lt;BR /&gt; timestamp(if(len(trim(DateEnd))=0, now(), DateEnd)) as DateEnd&lt;BR /&gt;Inline [&lt;BR /&gt; Project, Release,&amp;nbsp; DateInitial,&amp;nbsp; DateEnd&lt;BR /&gt; 1,&amp;nbsp; b,&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/12/2013 9:00:00 AM, 10/14/2013 9:00:00 AM&lt;BR /&gt; 1,&amp;nbsp; b,&amp;nbsp; 10/11/2013 5:00:00 PM, 10/12/2013 8:40:25 AM&lt;BR /&gt; 2,&amp;nbsp; c,&amp;nbsp; 10/11/2013 8:41:03 AM, 10/14/2013 8:43:11 AM&lt;BR /&gt; 2,&amp;nbsp; c,&amp;nbsp; 10/14/2013 8:39:09 AM, 10/14/2013 6:59:11 PM&lt;BR /&gt; 1,&amp;nbsp; c,&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/14/2013 8:39:09 AM, 10/14/2013 10:39:11 AM&lt;BR /&gt; 1,&amp;nbsp; b,&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/14/2013 8:39:09 AM, 10/15/2013 8:39:11 AM&lt;BR /&gt; 3,&amp;nbsp; a,&amp;nbsp; 4/10/2015 12:05:00 PM&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More important, in your situation the time intervals could be longer than one working day, which was not supported by the expressions in the chart.&amp;nbsp; I've made changes in the expressions to support this - see attached.&lt;BR /&gt;And, a minor change - you prevously asked about the "14" - to make clearer I repalced with a variable that holds the amount of non-working hours per day: WHperDay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Apr 2015 13:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-calculating-working-hours-from-2-date-fields/m-p/851723#M1020211</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-11T13:37:36Z</dc:date>
    </item>
  </channel>
</rss>

