<?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: Exclude Holiday from NetWorkDays in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exclude-Holiday-from-NetWorkDays/m-p/709909#M671639</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jon&lt;/P&gt;&lt;P&gt;we have also faced the same problem and company give us list of&amp;nbsp; days every month with yes and no like you&lt;/P&gt;&lt;P&gt;We have used simple count function to get the total working days and holidays&lt;/P&gt;&lt;P&gt;like count({&amp;lt;Cloumn&amp;gt;='Y'&amp;gt;}Days)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kushal Thakral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Sep 2014 05:55:05 GMT</pubDate>
    <dc:creator>kushalthakral</dc:creator>
    <dc:date>2014-09-27T05:55:05Z</dc:date>
    <item>
      <title>Exclude Holiday from NetWorkDays</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Holiday-from-NetWorkDays/m-p/709906#M671636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a very helpful expression I got from the community that returns the number of work-days since the beginning of the month:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=NetWorkDays (Date# ('9/1/2014', 'M/D/YYYY') , Today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it does not account for company holidays.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have a column called COMPANY_HOLIDAY with values Y or N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add the COMPANY_HOLIDAY Y into the expression so it would NOT count a NetWorkDay if it is flagged as a Y in COMPANY_HOLIDAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this, but returned nothing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=NetWorkDays (Date# ('9/1/2014','M/D/YYYY'), COMPANY_HOLIDAY = 'Y'), Today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would welcome ideas.&lt;/P&gt;&lt;P&gt;JV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Sep 2014 02:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Holiday-from-NetWorkDays/m-p/709906#M671636</guid>
      <dc:creator />
      <dc:date>2014-09-27T02:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Holiday from NetWorkDays</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Holiday-from-NetWorkDays/m-p/709907#M671637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Sep 2014 02:49:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Holiday-from-NetWorkDays/m-p/709907#M671637</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-09-27T02:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Holiday from NetWorkDays</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Holiday-from-NetWorkDays/m-p/709908#M671638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA. I have created a variable which stores the holidays in the required format for a table. Please use the same variable as the third argument toexclude them for calculating the network days..&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;-Sundar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Sep 2014 05:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Holiday-from-NetWorkDays/m-p/709908#M671638</guid>
      <dc:creator>sundarakumar</dc:creator>
      <dc:date>2014-09-27T05:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Holiday from NetWorkDays</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Holiday-from-NetWorkDays/m-p/709909#M671639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jon&lt;/P&gt;&lt;P&gt;we have also faced the same problem and company give us list of&amp;nbsp; days every month with yes and no like you&lt;/P&gt;&lt;P&gt;We have used simple count function to get the total working days and holidays&lt;/P&gt;&lt;P&gt;like count({&amp;lt;Cloumn&amp;gt;='Y'&amp;gt;}Days)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kushal Thakral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Sep 2014 05:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Holiday-from-NetWorkDays/m-p/709909#M671639</guid>
      <dc:creator>kushalthakral</dc:creator>
      <dc:date>2014-09-27T05:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Holiday from NetWorkDays</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Holiday-from-NetWorkDays/m-p/709910#M671640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank- you Anbu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=''&amp;amp;NetWorkingDays (Date#('9/1/2014','M/D/YYYY'),Today(),$(=Concat(chr(39)&amp;amp;If(COMPANY_HOLIDAY='Y',Date)&amp;amp;Chr(39),',')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works just fine.&amp;nbsp; It returns an integer ( the number of working days from the beginning of the month excluding weekends and holidays) that I can use in subsequent expressions.&amp;nbsp; Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Sep 2014 16:15:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Holiday-from-NetWorkDays/m-p/709910#M671640</guid>
      <dc:creator />
      <dc:date>2014-09-27T16:15:45Z</dc:date>
    </item>
  </channel>
</rss>

