<?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: NetWorkDays in the script. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/NetWorkDays-in-the-script/m-p/508113#M692174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;networkdays(date#(THE_DATE,'YYYYMMDD'),monthend(date#(THE_DATE,'YYYYMMDD'))) as NetDays&lt;/P&gt;&lt;P&gt;from &lt;EM&gt;...somewhere...&lt;/EM&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Sep 2013 11:29:33 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-09-11T11:29:33Z</dc:date>
    <item>
      <title>NetWorkDays in the script.</title>
      <link>https://community.qlik.com/t5/QlikView/NetWorkDays-in-the-script/m-p/508112#M692173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with the field&amp;nbsp; THE_DATE format 'YYYYMMDD' but it was save as string.&lt;/P&gt;&lt;P&gt;I want to count network days in the script.&lt;/P&gt;&lt;P&gt;how can I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the chart after I load the table it is working.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;NetWorkDays&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;date&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;MakeDate&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;left&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;min&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;THE_DATE&lt;/SPAN&gt;),4),&lt;SPAN style="color: #0000ff;"&gt;right&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;left&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;min&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;THE_DATE&lt;/SPAN&gt;),6),2),&lt;SPAN style="color: #0000ff;"&gt;right&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;min&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;THE_DATE&lt;/SPAN&gt;),2)),'DD/MM/YYYY'),&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;MonthEnd&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;date&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;MakeDate&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;left&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;max&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;THE_DATE&lt;/SPAN&gt;),4),&lt;SPAN style="color: #0000ff;"&gt;right&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;left&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;max&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;THE_DATE&lt;/SPAN&gt;),6),2),&lt;SPAN style="color: #0000ff;"&gt;right&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;max&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;THE_DATE&lt;/SPAN&gt;),2)),'DD/MM/YYYY'))) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want to do it in&amp;nbsp; the script level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ariel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 11:24:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetWorkDays-in-the-script/m-p/508112#M692173</guid>
      <dc:creator>ariel_klien</dc:creator>
      <dc:date>2013-09-11T11:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: NetWorkDays in the script.</title>
      <link>https://community.qlik.com/t5/QlikView/NetWorkDays-in-the-script/m-p/508113#M692174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;networkdays(date#(THE_DATE,'YYYYMMDD'),monthend(date#(THE_DATE,'YYYYMMDD'))) as NetDays&lt;/P&gt;&lt;P&gt;from &lt;EM&gt;...somewhere...&lt;/EM&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 11:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetWorkDays-in-the-script/m-p/508113#M692174</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-09-11T11:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: NetWorkDays in the script.</title>
      <link>https://community.qlik.com/t5/QlikView/NetWorkDays-in-the-script/m-p/508114#M692175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ariel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the functions you used are supported in script as well. So, Can you please explain what is the real concern you are having?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 11:29:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetWorkDays-in-the-script/m-p/508114#M692175</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-11T11:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: NetWorkDays in the script.</title>
      <link>https://community.qlik.com/t5/QlikView/NetWorkDays-in-the-script/m-p/508115#M692176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi G&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 11:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetWorkDays-in-the-script/m-p/508115#M692176</guid>
      <dc:creator>ariel_klien</dc:creator>
      <dc:date>2013-09-11T11:42:05Z</dc:date>
    </item>
  </channel>
</rss>

