<?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: Change Weekend in NetWorkDays Function in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148593#M20558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a sample where &lt;EM&gt;Networkdays(StartDate + 1, EndDate+1)&lt;/EM&gt; returns incorrect numbers and what you expect to see instead?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Sep 2016 16:04:14 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-09-06T16:04:14Z</dc:date>
    <item>
      <title>Change Weekend in NetWorkDays Function</title>
      <link>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148592#M20557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to change the weekend of the function Networkdays by passing a parameter or something like that? Our weekend is Friday and Saturday, and the default of Qlik Sense is Saturday and Sunday. I tried changing FirstWeekDay to the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET FirstWeekDay=6;&lt;/P&gt;&lt;P&gt;Also changed the Daynames but with no luck, Sunday gets excluded from the calculation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a few solutions such as NetworkingDays(DateA+1, DateB+1) but it gives incorrect numbers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 08:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148592#M20557</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-06T08:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Change Weekend in NetWorkDays Function</title>
      <link>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148593#M20558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a sample where &lt;EM&gt;Networkdays(StartDate + 1, EndDate+1)&lt;/EM&gt; returns incorrect numbers and what you expect to see instead?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 16:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148593#M20558</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-06T16:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Change Weekend in NetWorkDays Function</title>
      <link>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148594#M20559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Stefan!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the function with the following days:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;26-7-2015 and 28-7-2015 returns 3 instead of 2. Unless it calculates the start date as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Stefan!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 03:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148594#M20559</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-07T03:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Change Weekend in NetWorkDays Function</title>
      <link>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148595#M20560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it does take both start and end date into account:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;The &lt;/SPAN&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;networkdays&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt; function returns the number of working days (Monday-Friday) between &lt;SPAN style="text-decoration: underline;"&gt;and including&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;start_date&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt; and&lt;/SPAN&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;end_date&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt; taking into account any optionally listed &lt;/SPAN&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;holiday&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence, to exclude start date, add another +1 to this date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 06:10:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148595#M20560</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-07T06:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Change Weekend in NetWorkDays Function</title>
      <link>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148596#M20561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to return the time in minutes not days?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 06:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148596#M20561</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-07T06:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Change Weekend in NetWorkDays Function</title>
      <link>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148597#M20562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A day has 24*60 minutes, so maybe just multiply by this number?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 18:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148597#M20562</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-07T18:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Change Weekend in NetWorkDays Function</title>
      <link>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148598#M20563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is what if the number returned is ZERO? as subtracting 1 will eliminate a full working day; in addition, even by not subtracting one, the result is kind of inaccurate as well (i.e. assuming an employee finishes a task within an hour, it will be calculated as a full working day and worse if the task goes to two different employees, Emp1 finished and then the task goes to Emp2 who also finished within the same day the function will calculate 2 working days instead of 1) That is why I was asking about actual minutes not converting days to minutes. By the way I am using the function at each step of an application history (Now I kind of think that it can not be used like this) and the reason is because I don't calculate steps where an application is returned to the applicant. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wishing for your feedback!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 04:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148598#M20563</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-08T04:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change Weekend in NetWorkDays Function</title>
      <link>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148599#M20564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's hard to answer without knowing the details of your data model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 16:21:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1148599#M20564</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-08T16:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change Weekend in NetWorkDays Function</title>
      <link>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1549748#M39609</link>
      <description>&lt;P&gt;Can you please tell how to include Saturday in working days.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 10:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Change-Weekend-in-NetWorkDays-Function/m-p/1549748#M39609</guid>
      <dc:creator>SumitgargIBI</dc:creator>
      <dc:date>2019-02-27T10:51:00Z</dc:date>
    </item>
  </channel>
</rss>

