<?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: working days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/working-days/m-p/427009#M159109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You guys...:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2013 17:04:31 GMT</pubDate>
    <dc:creator>shree909</dc:creator>
    <dc:date>2013-02-12T17:04:31Z</dc:date>
    <item>
      <title>working days</title>
      <link>https://community.qlik.com/t5/QlikView/working-days/m-p/427006#M159106</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 have a field name with different days.&lt;/P&gt;&lt;P&gt;i want to calculate the&amp;nbsp; (day and day -1)&amp;nbsp; date for a pariticular date selected..&lt;/P&gt;&lt;P&gt;for example if i select the 02/01/2013 and i want to calucate the previous 2 days&amp;nbsp; or 1 day value.&lt;/P&gt;&lt;P&gt;if i use max(date)--- gives one date&lt;/P&gt;&lt;P&gt;if i use date(max(date)-1-- it gives 01/31/2013..&lt;/P&gt;&lt;P&gt;but if the day falls on sat or sun it has to show the friday value ..&lt;/P&gt;&lt;P&gt;is there any function for calculating the value for only working days...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt; i have a one month date from 01/01/2013 to 01/31/2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when the user selects a particular date&amp;nbsp; i have to caluate the that days value and previous days value...&lt;/P&gt;&lt;P&gt;but the problem is i want to caluate only for weekdays..&lt;/P&gt;&lt;P&gt;so what should be the expression for previous days calculation ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 04:03:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/working-days/m-p/427006#M159106</guid>
      <dc:creator>shree909</dc:creator>
      <dc:date>2013-02-12T04:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: working days</title>
      <link>https://community.qlik.com/t5/QlikView/working-days/m-p/427007#M159107</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 class="syntax"&gt;Let try with &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; :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="syntax"&gt;&lt;/P&gt;&lt;P class="syntax"&gt;Regards,&lt;/P&gt;&lt;P class="syntax"&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 04:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/working-days/m-p/427007#M159107</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2013-02-12T04:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: working days</title>
      <link>https://community.qlik.com/t5/QlikView/working-days/m-p/427008#M159108</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;Use the following to get the prior working day:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FirstWorkDate(Date(Today(1) - 1), 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have holiday dates in a quoted, comma separated list in variable vHolidays*, then you can use this format to take holidays into account as well;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FirstWorkDate(Date(Today(1) - 1), 1, $(vHolidays));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information on QV working day functions, check out &lt;A href="http://yahqblog.blogspot.com/2010_09_01_archive.html"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;* ie something like this:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set vHolidays = '2013/01/01', '2013/03/27', '2013/05/01';&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 07:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/working-days/m-p/427008#M159108</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-02-12T07:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: working days</title>
      <link>https://community.qlik.com/t5/QlikView/working-days/m-p/427009#M159109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You guys...:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 17:04:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/working-days/m-p/427009#M159109</guid>
      <dc:creator>shree909</dc:creator>
      <dc:date>2013-02-12T17:04:31Z</dc:date>
    </item>
  </channel>
</rss>

