<?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: Using NetWorkDays to subtract one date from another in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-NetWorkDays-to-subtract-one-date-from-another/m-p/1301224#M405510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, that's a really smart solution! I did not think of doing it like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jul 2017 07:24:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-28T07:24:08Z</dc:date>
    <item>
      <title>Using NetWorkDays to subtract one date from another</title>
      <link>https://community.qlik.com/t5/QlikView/Using-NetWorkDays-to-subtract-one-date-from-another/m-p/1301222#M405508</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;I use =NetWorkDays to see the difference from one date to another. It works great for the main part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to compare the Order Date and the Receive Date between tables in order to see the lead time. However, in some cases&amp;nbsp; the Order Date is higher than the Receive Date. Since Networkdays checks the difference, it gives me false data in some cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore I want to subtract the Receive Date with the Order Date to make sure that I get the right values. Then I can filter out the negative values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I use =NetWorkDays([Last receive date],[Order date]). The format of the dates are 13-07-2017 (receive) and 06-07-2017 (order),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some way to use it more like =NetWorkDays([Last receive date] &lt;EM&gt;minus&lt;/EM&gt; [Order date]).?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 07:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-NetWorkDays-to-subtract-one-date-from-another/m-p/1301222#M405508</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-27T07:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using NetWorkDays to subtract one date from another</title>
      <link>https://community.qlik.com/t5/QlikView/Using-NetWorkDays-to-subtract-one-date-from-another/m-p/1301223#M405509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If([Last receive date] &amp;gt; [Order date], -NetWorkDays([Order date], [Last receive date]), NetWorkDays([Last receive date], [Order date]))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 15:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-NetWorkDays-to-subtract-one-date-from-another/m-p/1301223#M405509</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-27T15:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using NetWorkDays to subtract one date from another</title>
      <link>https://community.qlik.com/t5/QlikView/Using-NetWorkDays-to-subtract-one-date-from-another/m-p/1301224#M405510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, that's a really smart solution! I did not think of doing it like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 07:24:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-NetWorkDays-to-subtract-one-date-from-another/m-p/1301224#M405510</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-28T07:24:08Z</dc:date>
    </item>
  </channel>
</rss>

