<?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: Counting working days this week / month in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248539#M25101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this just to test and it says the flag doesn't exist? Weird. I tried to move the calendar gen forward in the script also. Does sub routines get generated any later because it is a subroutine?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Feb 2017 10:03:08 GMT</pubDate>
    <dc:creator>bwisealiahmad</dc:creator>
    <dc:date>2017-02-03T10:03:08Z</dc:date>
    <item>
      <title>Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248489#M25051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;So in an excel sheet there is a column called "Days this week" which counts:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Monday as 1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Tuesday as 2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Wednesday as 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;(only Mon-Fri)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;++&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;And another column called Days This Month that also works as a counter of working days from the first day of the month as 1, second as 2 etc. and want this to automatically be done for each month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I want to create these fields based on a budget date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I've heard about "Network" days, but not sure how to get to this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Any tips anyone?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 15:19:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248489#M25051</guid>
      <dc:creator>bwisealiahmad</dc:creator>
      <dc:date>2016-11-29T15:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248490#M25052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali, probably you heard about networkdays(): &lt;A href="http://help.qlik.com/es-ES/qlikview/12.0/Subsystems/Client/Content/Scripting/DateAndTimeFunctions/networkdays.htm" title="http://help.qlik.com/es-ES/qlikview/12.0/Subsystems/Client/Content/Scripting/DateAndTimeFunctions/networkdays.htm"&gt;networkdays ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it's true , I think is what you need, check the help, is easy to underdstand how it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothe that you can use a variable to store the holiday days and use in the function, in example based on&amp;nbsp; today date:&lt;/P&gt;&lt;P&gt;SET vHolidays = "'01/11/2016', '08/12/2016'";&lt;/P&gt;&lt;P&gt;=NetWorkDays(Monthstart(Today()), MonthEnd(Today()), $(vHolidays))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 15:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248490#M25052</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-11-29T15:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248491#M25053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Month(Date) as Month,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Year(Date) as Year,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(not Match(WeekDay(Date), 'Sun', 'Sat'), Num(WeekDay(Date)), 0) as [Day this week],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; WeekDay(Date) as WeekDay,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(MonthName(Date) = Previous(MonthName(Date)), If(not Match(WeekDay(Date), 'Sun', 'Sat'), RangeSum(Peek('Day this month'), 1), RangeSum(Peek('Day this month'), 0)), If(not Match(WeekDay(Date), 'Sun', 'Sat'), 1, 0)) as [Day this month];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date(MakeDate(1999, 12, 31) + IterNo()) as Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoGenerate 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;While IterNo() &amp;lt;= 7300;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 15:33:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248491#M25053</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-29T15:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248492#M25054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that is how I want it, but I can't seem to adapt it to my model. This is the budget load script part:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Budget:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(PaidOutBookDate) AS BudgetDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actual,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Budget&lt;/P&gt;&lt;P&gt;FROM [lib://99.Shared_Folders/2.QVD\Budget.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 08:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248492#M25054</guid>
      <dc:creator>bwisealiahmad</dc:creator>
      <dc:date>2016-11-30T08:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248493#M25055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FactTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(PaidOutBookDate) AS BudgetDate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actual,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Budget&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM [lib://99.Shared_Folders/2.QVD\Budget.qvd]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DateTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD BudgetDate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(BudgetDate) as Month,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(BudgetDate) as Year,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(not Match(WeekDay(BudgetDate), 'Sun', 'Sat'), Num(WeekDay(BudgetDate)), 0) as [Day this week],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekDay(BudgetDate) as WeekDay,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(MonthName(BudgetDate) = Previous(MonthName(BudgetDate)), If(not Match(WeekDay(BudgetDate), 'Sun', 'Sat'), RangeSum(Peek('Day this month'), 1), RangeSum(Peek('Day this month'), 0)), If(not Match(WeekDay(Date), 'Sun', 'Sat'), 1, 0)) as [Day this month]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident FactTable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By BudgetDate;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 09:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248493#M25055</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-30T09:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248494#M25056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is working for month, but not for weekdays. It seems like the budgetdate doesn't include saturday and sunday and that is messing it up. See screenshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture5.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145262_Capture5.JPG" style="height: 527px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 09:42:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248494#M25056</guid>
      <dc:creator>bwisealiahmad</dc:creator>
      <dc:date>2016-11-30T09:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248495#M25057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you just need to add 1 to fix this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(not Match(WeekDay(BudgetDate), 'Sun', 'Sat'), &lt;SPAN style="color: #ff0000;"&gt;RangeSum(&lt;/SPAN&gt;Num(WeekDay(BudgetDate))&lt;SPAN style="color: #ff0000;"&gt;, 1)&lt;/SPAN&gt;, 0) as [Day this week],&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 09:45:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248495#M25057</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-30T09:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248496#M25058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the help Sunny. This looks good!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 10:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248496#M25058</guid>
      <dc:creator>bwisealiahmad</dc:creator>
      <dc:date>2016-11-30T10:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248497#M25059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A follow up question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I want to exclude some dates from the counting because they are holidays, is there any way to do this? Either add a variable and have it not count the days that are in that variable or something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 10:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248497#M25059</guid>
      <dc:creator>bwisealiahmad</dc:creator>
      <dc:date>2016-12-06T10:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248498#M25060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you can add another if statement in there to do this, right? for instance you want to exclude 1st Jan and 1st Feb -&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(not Match(WeekDay(BudgetDate), 'Sun', 'Sat') and &lt;SPAN style="color: #ff0000;"&gt;not Match(BudgetDate, MakeDate(2016, 1, 1), MakeDate(2016, 2, 1))&lt;/SPAN&gt;,&amp;nbsp; RangeSum(Num(WeekDay(BudgetDate)), 1), 0) as [Day this week],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There might be a better way to do this, but I am not sure I know another way....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 10:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248498#M25060</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-06T10:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248499#M25061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok...and same for Day This Month I guess?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 10:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248499#M25061</guid>
      <dc:creator>bwisealiahmad</dc:creator>
      <dc:date>2016-12-06T10:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248500#M25062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe so... I guess test it out and see if it is working or not &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 10:30:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248500#M25062</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-06T10:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248501#M25063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It almost works, except not it is resetting the days this month counter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ResetsCounter.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145734_ResetsCounter.JPG" style="height: 419px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 10:43:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248501#M25063</guid>
      <dc:creator>bwisealiahmad</dc:creator>
      <dc:date>2016-12-06T10:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248502#M25064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(MonthName(BudgetDate) = Previous(MonthName(BudgetDate)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(not Match(WeekDay(BudgetDate), 'Sun', 'Sat') &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff0000;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;not Match(BudgetDate, MakeDate(2016, 1, 1), MakeDate(2016, 2, 1))&lt;/SPAN&gt;&lt;/STRONG&gt;, RangeSum(Peek('Day this month'), 1), RangeSum(Peek('Day this month'), 0)), If(not Match(WeekDay(Date) &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff0000;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;not Match(BudgetDate, MakeDate(2016, 1, 1), MakeDate(2016, 2, 1))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;, 'Sun', 'Sat'), 1, 0)) as [Day this month]&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 10:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248502#M25064</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-06T10:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248503#M25065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this will work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is adding 17 twice and continuing the count so that way the max is 21 instead of 22 because of that. &lt;IMG alt="ResetsCounter.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145735_ResetsCounter.JPG" style="height: 276px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:11:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248503#M25065</guid>
      <dc:creator>bwisealiahmad</dc:creator>
      <dc:date>2016-12-06T11:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248504#M25066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On week tho there is a 0 now and it starts on 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is the Peek that is doing so that it starts on the correct number or how is that? (scroll all the way to the right to see the picture)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="145737" alt="ResetsCounter.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145737_ResetsCounter.JPG" style="height: 174px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248504#M25066</guid>
      <dc:creator>bwisealiahmad</dc:creator>
      <dc:date>2016-12-06T11:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248505#M25067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is strange, let me check this at my end &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248505#M25067</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-06T11:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248506#M25068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; right now for week it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(not Match(WeekDay(BudgetDate), 'sun', 'sat') and not Match(&lt;SPAN style="font-size: 13.3333px;"&gt;BudgetDate&lt;/SPAN&gt;, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MakeDate(2016, 12, 26)), RangeSum(Num(WeekDay(&lt;SPAN style="font-size: 13.3333px;"&gt;BudgetDate&lt;/SPAN&gt;)), 1), 0) as [Day This Week],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248506#M25068</guid>
      <dc:creator>bwisealiahmad</dc:creator>
      <dc:date>2016-12-06T11:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248507#M25069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My guess is that you are using Dec 26th as the holiday? Wouldn't you want to see the same number repeated? What else do you want to see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248507#M25069</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-06T11:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Counting working days this week / month</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248508#M25070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you resolved the month part?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 11:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-working-days-this-week-month/m-p/1248508#M25070</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-06T11:52:32Z</dc:date>
    </item>
  </channel>
</rss>

