<?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 Day Count in a year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Working-Day-Count-in-a-year/m-p/751387#M267920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;=NetworkDays(Start_Date,End_Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will count no of working days.excluding satudays and sundays.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)This wont count public holidays or local holidays which you might have to add it externally into expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Dec 2014 08:07:06 GMT</pubDate>
    <dc:creator>saumyashah90</dc:creator>
    <dc:date>2014-12-17T08:07:06Z</dc:date>
    <item>
      <title>Working Day Count in a year</title>
      <link>https://community.qlik.com/t5/QlikView/Working-Day-Count-in-a-year/m-p/751383#M267916</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;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I am creating a calendar and need your suggestions on how to do the below. I just want to create a total working day in a year with few &lt;/SPAN&gt;criteria&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;* First day of the year should be 1. If it is holiday (WO column indicated as 0 (Sat, sun and holiday)) then next day should also 1. Likewise the count should go till year end. But if a month end (31-01-2012) is holiday or sun day, then the next day should incremented automatically. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;* Again Next year should start with 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see screenshot for better understanding.&amp;nbsp; I need to do exactly like below mentioned as "Need to do in QV"&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73668_Capture1.PNG" style="height: 416px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px; line-height: 1.5em;"&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 06:03:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-Day-Count-in-a-year/m-p/751383#M267916</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2014-12-17T06:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Working Day Count in a year</title>
      <link>https://community.qlik.com/t5/QlikView/Working-Day-Count-in-a-year/m-p/751384#M267917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 07:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-Day-Count-in-a-year/m-p/751384#M267917</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2014-12-17T07:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Working Day Count in a year</title>
      <link>https://community.qlik.com/t5/QlikView/Working-Day-Count-in-a-year/m-p/751385#M267918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use the networkdays function that calculates the number of working days between two dates and it can take optionally the holiday dates, you need to use this function while building your calendar script and loop over the networkdays to build the calendar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 07:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-Day-Count-in-a-year/m-p/751385#M267918</guid>
      <dc:creator>maleksafa</dc:creator>
      <dc:date>2014-12-17T07:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Working Day Count in a year</title>
      <link>https://community.qlik.com/t5/QlikView/Working-Day-Count-in-a-year/m-p/751386#M267919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try using&lt;/P&gt;&lt;P&gt;NetWorkDays(year_start_date,Year_end_date) which returns all the working days excluding weekends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you just be little more precise with what your requirement is , like is the above mentioned table format is what you want in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 08:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-Day-Count-in-a-year/m-p/751386#M267919</guid>
      <dc:creator />
      <dc:date>2014-12-17T08:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Working Day Count in a year</title>
      <link>https://community.qlik.com/t5/QlikView/Working-Day-Count-in-a-year/m-p/751387#M267920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;=NetworkDays(Start_Date,End_Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will count no of working days.excluding satudays and sundays.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)This wont count public holidays or local holidays which you might have to add it externally into expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 08:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-Day-Count-in-a-year/m-p/751387#M267920</guid>
      <dc:creator>saumyashah90</dc:creator>
      <dc:date>2014-12-17T08:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Working Day Count in a year</title>
      <link>https://community.qlik.com/t5/QlikView/Working-Day-Count-in-a-year/m-p/751388#M267921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I need to create a column exactly what I have shown in the picture (Column name working days). I want to know, if a day is holiday then the&amp;nbsp; working day count should same as previous day. For example, working day count of the date 04-01-2014 is 5, if suppose 05-01-2014 is holiday then the count of the next day is also 5 and 06-01-2014 is 6 like wise. Same rule for Saturdays and Sundays.I have a 3 years data, so bit confused on how to do this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73674_Capture.PNG" style="height: 401px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 08:34:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-Day-Count-in-a-year/m-p/751388#M267921</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2014-12-17T08:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Working Day Count in a year</title>
      <link>https://community.qlik.com/t5/QlikView/Working-Day-Count-in-a-year/m-p/751389#M267922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. NetWorkDays(FKDAT,FKDAT) returns 0 if its a weekend and returns 1 if its a week day&lt;/P&gt;&lt;P&gt;2. loop this as&lt;/P&gt;&lt;P&gt;if(NetWorkDays(FKDAT,FKDAT) ,use rangesum(workingDays,peek('workingDays')) as WorkingDays function.&lt;/P&gt;&lt;P&gt;try doing this may b it should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 13:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-Day-Count-in-a-year/m-p/751389#M267922</guid>
      <dc:creator />
      <dc:date>2014-12-17T13:48:08Z</dc:date>
    </item>
  </channel>
</rss>

