<?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: work time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/work-time/m-p/855727#M1008428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you know that you always have 8 work hours per day, then a simply solution would simply be to multiply no of workdays with 8.&lt;/P&gt;&lt;P&gt;If the working hours can vary, then you'll have to write a script that can calculate the workhours but how that will look will depend on how the workhours are stored. If it can vary per workday (If d.g. friday only have 7 hours), then you'll have to do some more complicated scripting and again this will depend on how your data are stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Steen &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2015 08:53:09 GMT</pubDate>
    <dc:creator>sspe</dc:creator>
    <dc:date>2015-04-30T08:53:09Z</dc:date>
    <item>
      <title>work time</title>
      <link>https://community.qlik.com/t5/QlikView/work-time/m-p/855726#M1008427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I'm trying to calculate the work time between two dates and I don't know to do it.&lt;/P&gt;&lt;P&gt;The work time calendar is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Monday-Friday&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8.30 - 12.30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14.00 - 18.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By networkdays function I know the right work days, but I'm not able to calculate the work time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help please&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 08:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/work-time/m-p/855726#M1008427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-30T08:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: work time</title>
      <link>https://community.qlik.com/t5/QlikView/work-time/m-p/855727#M1008428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you know that you always have 8 work hours per day, then a simply solution would simply be to multiply no of workdays with 8.&lt;/P&gt;&lt;P&gt;If the working hours can vary, then you'll have to write a script that can calculate the workhours but how that will look will depend on how the workhours are stored. If it can vary per workday (If d.g. friday only have 7 hours), then you'll have to do some more complicated scripting and again this will depend on how your data are stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Steen &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 08:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/work-time/m-p/855727#M1008428</guid>
      <dc:creator>sspe</dc:creator>
      <dc:date>2015-04-30T08:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: work time</title>
      <link>https://community.qlik.com/t5/QlikView/work-time/m-p/855728#M1008429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steen,&lt;/P&gt;&lt;P&gt;first of all thanks for your reply.&lt;/P&gt;&lt;P&gt;PErhaps I'm wrong, but I don't think that is so simple. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28-04-2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at 10.30 AM&lt;/P&gt;&lt;P&gt;End time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30-04-2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at&amp;nbsp; 17.00 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total work time is :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.30h (for 29th april) + 7h (on 30th april) = 12h 30m&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's too hard for me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 09:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/work-time/m-p/855728#M1008429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-30T09:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: work time</title>
      <link>https://community.qlik.com/t5/QlikView/work-time/m-p/855729#M1008430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I faced a similar problem...&lt;/P&gt;&lt;P&gt;Can Start and End time involve more than one day?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share sample data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Elena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 13:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/work-time/m-p/855729#M1008430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-30T13:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: work time</title>
      <link>https://community.qlik.com/t5/QlikView/work-time/m-p/855730#M1008431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if the attached helps.&amp;nbsp; I created it recently for a similar question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 13:20:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/work-time/m-p/855730#M1008431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-30T13:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: work time</title>
      <link>https://community.qlik.com/t5/QlikView/work-time/m-p/855731#M1008432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;What I've to face is the lunch time. The work time is something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8.30&amp;nbsp;&amp;nbsp; till&amp;nbsp; 12.30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lunch time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if the start time is 10.00 and the end time is 16.00 , for me the real work time is 4hours.&lt;/P&gt;&lt;P&gt;I really don't know how to solve it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 14:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/work-time/m-p/855731#M1008432</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-30T14:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: work time</title>
      <link>https://community.qlik.com/t5/QlikView/work-time/m-p/855732#M1008433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MY problem is lunch time (see my last post)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 14:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/work-time/m-p/855732#M1008433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-30T14:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: work time</title>
      <link>https://community.qlik.com/t5/QlikView/work-time/m-p/855733#M1008434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;You should try to transform your date and hour into num&lt;/P&gt;&lt;P&gt;Then you will be able to calculate the difference between the two numerics corresponding to the starting and ending time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 15:59:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/work-time/m-p/855733#M1008434</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-30T15:59:19Z</dc:date>
    </item>
  </channel>
</rss>

