<?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: Last working day in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-working-day/m-p/416542#M1161403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;{, ...} &lt;/EM&gt; just means it's optional to the function call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a description on how to create and add your holiday values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/message/90025#90025" title="http://community.qlik.com/message/90025#90025"&gt;http://community.qlik.com/message/90025&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Dec 2012 11:29:18 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-12-07T11:29:18Z</dc:date>
    <item>
      <title>Last working day</title>
      <link>https://community.qlik.com/t5/QlikView/Last-working-day/m-p/416537#M1161396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like some help trying to create a variable for the last working date. It must also include public holidays which i already have in a spreadsheet.&lt;/P&gt;&lt;P&gt;I am trying to add a button in my application for LWD (Last Working Day) which when pressed the date selection changes to the last working date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My fields are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Event Date]&lt;/P&gt;&lt;P&gt;PublicHols&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know there is a function NETWORKDAYS but i don't know where to start...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 09:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-working-day/m-p/416537#M1161396</guid>
      <dc:creator />
      <dc:date>2012-12-07T09:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Last working day</title>
      <link>https://community.qlik.com/t5/QlikView/Last-working-day/m-p/416538#M1161398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The lastworkdate is probably the function you're looking for. It also excepts holidays are arguments. See the help file for details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 09:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-working-day/m-p/416538#M1161398</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-12-07T09:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Last working day</title>
      <link>https://community.qlik.com/t5/QlikView/Last-working-day/m-p/416539#M1161399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dod't understand it though. how do i get the last working date?&lt;/P&gt;&lt;P&gt;the example gives..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="background-color: #0a246a; color: #ffffff;"&gt;lastworkdate&lt;/SPAN&gt; ('2007-02-19', 9) which returns '2007-03-01' which is a date in the future...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;so if i try &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;LastWorkDate(Today(),-1) i get null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;or am i completely missunderstanding it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 10:45:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-working-day/m-p/416539#M1161399</guid>
      <dc:creator />
      <dc:date>2012-12-07T10:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Last working day</title>
      <link>https://community.qlik.com/t5/QlikView/Last-working-day/m-p/416540#M1161400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if this sounds non intuitive, I think you should look into FirstWorkDate() instead, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstWorkDate(today(),1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add a comma separated list of holiday dates after the second argument.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 11:01:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-working-day/m-p/416540#M1161400</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-12-07T11:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Last working day</title>
      <link>https://community.qlik.com/t5/QlikView/Last-working-day/m-p/416541#M1161402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thansk that worked &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;how do i use a field name for my holiday dates?&lt;/P&gt;&lt;P&gt;I have loaded them in from an excel file and named the field 'PublicHols' but not sure how to include it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The help file says to use this format...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstWorkDate&lt;SPAN class="Bold"&gt;(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;end_date, no_of_workdays {, holiday&lt;/SPAN&gt;} &lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i have tried &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstWorkDate('07/12/2012',2{, PublicHol})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i get an error on the comma after the curly open bracket..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 11:25:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-working-day/m-p/416541#M1161402</guid>
      <dc:creator />
      <dc:date>2012-12-07T11:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Last working day</title>
      <link>https://community.qlik.com/t5/QlikView/Last-working-day/m-p/416542#M1161403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;{, ...} &lt;/EM&gt; just means it's optional to the function call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a description on how to create and add your holiday values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/message/90025#90025" title="http://community.qlik.com/message/90025#90025"&gt;http://community.qlik.com/message/90025&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 11:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-working-day/m-p/416542#M1161403</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-12-07T11:29:18Z</dc:date>
    </item>
  </channel>
</rss>

