<?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: Current work days in month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359423#M825807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it should be like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=NetWorkDays(MonthStart(Max&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;(Date)), Max(Date), $(vHolidays))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jul 2017 18:48:25 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-07-10T18:48:25Z</dc:date>
    <item>
      <title>Current work days in month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359422#M825806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to calculate the amount of work days in the current month.&lt;/P&gt;&lt;P&gt;I need to account for the weekends and holidays. I currently have a string variable with all of my selected holidays defined as 'vHolidays'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the expression I am trying to use to achieve said count. The current amount of days for this month would be 20, 4th of july. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=networkdays({$&amp;lt;Date={"$(=FirstWorkDate(Today()-1,1,$(vHolidays)))"}, Month = {"$(=Month(Today()))"}&amp;gt;} min(Date), max(Date))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359422#M825806</guid>
      <dc:creator>joshrussin</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Current work days in month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359423#M825807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it should be like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=NetWorkDays(MonthStart(Max&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;(Date)), Max(Date), $(vHolidays))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 18:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359423#M825807</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-10T18:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Current work days in month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359424#M825808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Used for formula, result was 5.&lt;/P&gt;&lt;P&gt;Changed the first max to min and result was 27.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are 31 days in this month, only need to count business days and account for holidays. result should be 20&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 19:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359424#M825808</guid>
      <dc:creator>joshrussin</dc:creator>
      <dc:date>2017-07-10T19:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Current work days in month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359425#M825809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want it for the whole month... try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=NetWorkDays(MonthStart(Max&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(Date)), &lt;SPAN style="color: #ff0000;"&gt;MonthEnd&lt;/SPAN&gt;(Max(Date)), $(vHolidays))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 19:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359425#M825809</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-10T19:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Current work days in month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359426#M825810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 19:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359426#M825810</guid>
      <dc:creator>joshrussin</dc:creator>
      <dc:date>2017-07-10T19:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Current work days in month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359427#M825811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea as to why this would now return 23 days?&lt;/P&gt;&lt;P&gt;Same formula, just now returns 23 instead of 20.&lt;/P&gt;&lt;P&gt;There are 23 workdays next month. but not sure why it would return next months result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 16:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359427#M825811</guid>
      <dc:creator>joshrussin</dc:creator>
      <dc:date>2017-07-31T16:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Current work days in month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359428#M825812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this guy&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Max&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(Date)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this give you July or August?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 16:57:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359428#M825812</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-31T16:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Current work days in month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359429#M825813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It returns 8/1/2017&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 17:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359429#M825813</guid>
      <dc:creator>joshrussin</dc:creator>
      <dc:date>2017-07-31T17:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Current work days in month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359430#M825814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I guess that is your issue, how are you getting 8/1/2017 to be your max date? Do you not expect that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 17:09:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359430#M825814</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-31T17:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Current work days in month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359431#M825815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would expect the max date to be the latest date. Which is 7/31/2017. I do not know how it is getting 8/1/2017&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 17:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359431#M825815</guid>
      <dc:creator>joshrussin</dc:creator>
      <dc:date>2017-07-31T17:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Current work days in month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359432#M825816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would not know anything about this because I don't have any knowledge about your data. If Max(Date) = 08/01/2017, you will have to check in the database as to why you are getting this value....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 17:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-work-days-in-month/m-p/1359432#M825816</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-31T17:21:05Z</dc:date>
    </item>
  </channel>
</rss>

