<?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 Showing NetWorkDays in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Showing-NetWorkDays-in-set-analysis/m-p/333140#M1177440</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;You can use NetWorkDays() to calculate working days, it excludes Saturdays and Sundays and given Holidays list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor521"&gt;&lt;/A&gt;&lt;A name="networkdays"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;networkdays (&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;start:date, end_date {, holiday}&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="syntax"&gt;&lt;/P&gt;&lt;P&gt;Returns the number of working days (Monday-Friday) between and including &lt;SPAN class="Italic"&gt;start_date&lt;/SPAN&gt; and &lt;SPAN class="Italic"&gt;end_date&lt;/SPAN&gt; taking into account any optionally listed &lt;SPAN class="Italic"&gt;holidays&lt;/SPAN&gt;. All parameters should be valid dates or timestamps. &lt;/P&gt;&lt;P class="example"&gt;&lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;networkdays ('2007-02-19', '2007-03-01')&lt;/SPAN&gt; returns 9&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;networkdays ('2006-12-18', '2006-12-31', '2006-12-25', '2006-12-26')&lt;/SPAN&gt; returns 8&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this in Help file.&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>Thu, 03 May 2012 07:35:53 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2012-05-03T07:35:53Z</dc:date>
    <item>
      <title>Showing NetWorkDays in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-NetWorkDays-in-set-analysis/m-p/333139#M1177439</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;I'm very new to Qlikview and I'm trying to show the difference in days between two field names that have dates behind them, but I want to show it in NetWorkDays and I would like to show this as set analysis and don't know how to show this in a formula. &lt;/P&gt;&lt;P&gt;The fields names are ZSD_PIPELINE.ZZCFDT and ZSD_PIPELINE.ZZRQDT&amp;nbsp; with the 2nd taken away from the 1st.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 03:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-NetWorkDays-in-set-analysis/m-p/333139#M1177439</guid>
      <dc:creator />
      <dc:date>2012-05-03T03:58:31Z</dc:date>
    </item>
    <item>
      <title>Showing NetWorkDays in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-NetWorkDays-in-set-analysis/m-p/333140#M1177440</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;You can use NetWorkDays() to calculate working days, it excludes Saturdays and Sundays and given Holidays list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor521"&gt;&lt;/A&gt;&lt;A name="networkdays"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;networkdays (&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;start:date, end_date {, holiday}&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="syntax"&gt;&lt;/P&gt;&lt;P&gt;Returns the number of working days (Monday-Friday) between and including &lt;SPAN class="Italic"&gt;start_date&lt;/SPAN&gt; and &lt;SPAN class="Italic"&gt;end_date&lt;/SPAN&gt; taking into account any optionally listed &lt;SPAN class="Italic"&gt;holidays&lt;/SPAN&gt;. All parameters should be valid dates or timestamps. &lt;/P&gt;&lt;P class="example"&gt;&lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;networkdays ('2007-02-19', '2007-03-01')&lt;/SPAN&gt; returns 9&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;networkdays ('2006-12-18', '2006-12-31', '2006-12-25', '2006-12-26')&lt;/SPAN&gt; returns 8&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this in Help file.&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>Thu, 03 May 2012 07:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-NetWorkDays-in-set-analysis/m-p/333140#M1177440</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-05-03T07:35:53Z</dc:date>
    </item>
    <item>
      <title>Showing NetWorkDays in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-NetWorkDays-in-set-analysis/m-p/333141#M1177443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jagan mohan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can (should) try and do this calculation in your load script instead of at runtime.&lt;/P&gt;&lt;P&gt;It will render better performance, both CPU and RAM-wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is usually good practise, it will usually not affect file size since those &amp;lt;int&amp;gt; networkdays might already exist in other fields in your datamodel. Thus not adding more data to themodel, instead only linking to existing values already present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/21613"&gt;Magnus Åvitsland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.framsteg.com" target="_blank"&gt;Framsteg Business Intelligence Corp.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 07:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-NetWorkDays-in-set-analysis/m-p/333141#M1177443</guid>
      <dc:creator>magavi_framsteg</dc:creator>
      <dc:date>2012-05-03T07:51:32Z</dc:date>
    </item>
    <item>
      <title>Showing NetWorkDays in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-NetWorkDays-in-set-analysis/m-p/333142#M1177444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Magnus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry should have explained myself better I'm creating a weview for other users to see data from a predefined script taken from SAP and am unable to change it. So have to do any data manipulation within the tables I create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did this with the information Jagan posted NetWorkDays(ZSD_PIPELINE.ZZCFDT, ZSD_PIPELINE.ZZRQDT) &lt;/P&gt;&lt;P&gt;but only got back 0 values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 12:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-NetWorkDays-in-set-analysis/m-p/333142#M1177444</guid>
      <dc:creator />
      <dc:date>2012-05-03T12:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Showing NetWorkDays in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-NetWorkDays-in-set-analysis/m-p/333143#M1177445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried changing the fields around? networkdays works from start and counts to finish, rather than counting back from finish to start&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end formula should be NetWorkDays(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ZSD_PIPELINE.ZZRQDT&lt;/SPAN&gt;,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ZSD_PIPELINE.ZZCFDT&lt;/SPAN&gt;) if I read your question correctly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 04:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-NetWorkDays-in-set-analysis/m-p/333143#M1177445</guid>
      <dc:creator />
      <dc:date>2014-08-19T04:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Showing NetWorkDays in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-NetWorkDays-in-set-analysis/m-p/333144#M1177446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;NetWorkDays(Min(ZSD_PIPELINE.ZZCFDT), Max(ZSD_PIPELINE.ZZRQDT))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 04:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-NetWorkDays-in-set-analysis/m-p/333144#M1177446</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2014-08-19T04:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Showing NetWorkDays in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-NetWorkDays-in-set-analysis/m-p/333145#M1177447</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;Try changing the fields like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;NetWorkDays(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;ZSD_PIPELINE.ZZRQDT&lt;/SPAN&gt;, ZSD_PIPELINE.ZZCFDT)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Syntax:&lt;/P&gt;&lt;P&gt;networkdays (start:date, end_date {, holiday}) &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>Tue, 19 Aug 2014 05:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-NetWorkDays-in-set-analysis/m-p/333145#M1177447</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-08-19T05:09:45Z</dc:date>
    </item>
  </channel>
</rss>

