<?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: Network Days problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Network-Days-problem/m-p/1031358#M348193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi coco, I count:&lt;/P&gt;&lt;P&gt;13 for apr&lt;/P&gt;&lt;P&gt;21 for may&lt;/P&gt;&lt;P&gt;9 for jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total: 43&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Mar 2016 11:41:15 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2016-03-20T11:41:15Z</dc:date>
    <item>
      <title>Network Days problem</title>
      <link>https://community.qlik.com/t5/QlikView/Network-Days-problem/m-p/1031357#M348192</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;&lt;/P&gt;&lt;P&gt;I'm trying to calculate Network Days from one date to another, excluding Public Holidays.&lt;/P&gt;&lt;P&gt;In my example, I have a Start date of : 14/04/2015 and End Date :12/06/2015, with a Public Holiday of 08/06/2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the expression : NetWorkDays(Appr,Auth,PublicHol) I get days of : 43, but when I calculate it manually I get 42, which is the correct answer. My client expects 42 and I calculate 42, not 43.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong? - I've attached the sample .qvw - perhaps I'm missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 08:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Network-Days-problem/m-p/1031357#M348192</guid>
      <dc:creator />
      <dc:date>2016-03-20T08:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Network Days problem</title>
      <link>https://community.qlik.com/t5/QlikView/Network-Days-problem/m-p/1031358#M348193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi coco, I count:&lt;/P&gt;&lt;P&gt;13 for apr&lt;/P&gt;&lt;P&gt;21 for may&lt;/P&gt;&lt;P&gt;9 for jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total: 43&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 11:41:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Network-Days-problem/m-p/1031358#M348193</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-03-20T11:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Network Days problem</title>
      <link>https://community.qlik.com/t5/QlikView/Network-Days-problem/m-p/1031359#M348194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You or your calculator is wrong. Perhaps you're simply subtracting two dates and then subtracting the weekend days and the holiday. If that's the case you're not counting the last date as a day. The difference between two consecutive days is one, but they are still two days.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 12:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Network-Days-problem/m-p/1031359#M348194</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-20T12:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Network Days problem</title>
      <link>https://community.qlik.com/t5/QlikView/Network-Days-problem/m-p/1031360#M348195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Gysbert already pointed out and as the HELP states:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate"&gt;networkdays&lt;/SPAN&gt; function returns the number of working days (Monday-Friday) &lt;STRONG&gt;between and &lt;SPAN style="text-decoration: underline;"&gt;including &lt;/SPAN&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate"&gt;start_date&lt;/SPAN&gt; and &lt;/STRONG&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate"&gt;&lt;STRONG&gt;end_date&lt;/STRONG&gt;&lt;/SPAN&gt; taking into account any optionally listed &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate"&gt;holiday&lt;/SPAN&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;But I assume that's not your issue, otherwise you would have noticed the same issue with Ref B, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, could you please clarify how you calculate what you defined as 'correct' value in more detailed steps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a side note, your current approach of defining public holidays per Ref will only work for a single public holiday per Ref, not for a list of holidays. Could this trigger (other) issues as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Mar 2016 13:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Network-Days-problem/m-p/1031360#M348195</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-20T13:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Network Days problem</title>
      <link>https://community.qlik.com/t5/QlikView/Network-Days-problem/m-p/1031361#M348196</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;Check this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-16251"&gt;Master Calendar with Working days &amp;amp;amp; Holidays Flag&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 03:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Network-Days-problem/m-p/1031361#M348196</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-21T03:33:20Z</dc:date>
    </item>
  </channel>
</rss>

