<?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 Of A Week in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-Working-Day-Of-A-Week/m-p/1721786#M451866</link>
    <description>&lt;P&gt;I don't know your startdate, but maybe&amp;nbsp;&lt;BR /&gt;firstworkkdate would do what you want&lt;BR /&gt;first parameter is your date (should be required weekend)&lt;BR /&gt;second parameter is number of workdays needed, which must be 1! you need 1 day to complete work&lt;BR /&gt;third parameter is list of your public holidays ('19.06.2020')&lt;BR /&gt;solution might be: firstworkdate('20.06.2020',1,'19.06.2020') results in 18.06.2020&lt;/P&gt;&lt;P&gt;if you only have a date within the week you just expand with the weekend function&lt;BR /&gt;firstworkdate(weekend('15.06.2020',)1,'19.06.2020') results in 18.06.2020&lt;BR /&gt;both assuming that friday 18th june is a public holiday (which in reality is not)&lt;/P&gt;&lt;P&gt;explanation: firstworkdate defines when you should start work so it will be completed in specified number of workdays!&lt;/P&gt;&lt;P&gt;does it helps or gives you an idea?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jun 2020 14:32:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-06-24T14:32:44Z</dc:date>
    <item>
      <title>Last Working Day Of A Week</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Working-Day-Of-A-Week/m-p/1721769#M451864</link>
      <description>&lt;P&gt;Is there a way to get the last working date in a specific week (where holidays should be excluded from the working days)?&lt;/P&gt;&lt;P&gt;So for example&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suppose Friday 2020/06/26 is the last day of the week but it is a public holiday. Then I want to obtain the date of the Thursday (which in this case would be 2020/06/25)&lt;/P&gt;&lt;P&gt;I know how to get the last working day of a month, but I am unsure how one would get it for a specific week.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 14:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Working-Day-Of-A-Week/m-p/1721769#M451864</guid>
      <dc:creator>anriretief</dc:creator>
      <dc:date>2020-06-24T14:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Last Working Day Of A Week</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Working-Day-Of-A-Week/m-p/1721786#M451866</link>
      <description>&lt;P&gt;I don't know your startdate, but maybe&amp;nbsp;&lt;BR /&gt;firstworkkdate would do what you want&lt;BR /&gt;first parameter is your date (should be required weekend)&lt;BR /&gt;second parameter is number of workdays needed, which must be 1! you need 1 day to complete work&lt;BR /&gt;third parameter is list of your public holidays ('19.06.2020')&lt;BR /&gt;solution might be: firstworkdate('20.06.2020',1,'19.06.2020') results in 18.06.2020&lt;/P&gt;&lt;P&gt;if you only have a date within the week you just expand with the weekend function&lt;BR /&gt;firstworkdate(weekend('15.06.2020',)1,'19.06.2020') results in 18.06.2020&lt;BR /&gt;both assuming that friday 18th june is a public holiday (which in reality is not)&lt;/P&gt;&lt;P&gt;explanation: firstworkdate defines when you should start work so it will be completed in specified number of workdays!&lt;/P&gt;&lt;P&gt;does it helps or gives you an idea?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 14:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Working-Day-Of-A-Week/m-p/1721786#M451866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-24T14:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Last Working Day Of A Week</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Working-Day-Of-A-Week/m-p/1721898#M451867</link>
      <description>&lt;P&gt;Thank you for the reply, I used the following:&lt;/P&gt;&lt;P&gt;LastWorkDate(weekstart(today()),networkdays(weekstart(today()),weekend(today()),'2020-06-25','2020-06-26'),'2020-06-25','2020-06-26') ... which then returns 2020-06-24 (assuming that 2020-06-25 and 2020-06-26 are holidays, although they are not in reality)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 20:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Working-Day-Of-A-Week/m-p/1721898#M451867</guid>
      <dc:creator>anriretief</dc:creator>
      <dc:date>2020-06-24T20:27:07Z</dc:date>
    </item>
  </channel>
</rss>

