<?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: Testing a date for being a working day in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515362#M192448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; this link may help &lt;A _jive_internal="true" href="https://community.qlik.com/thread/86031"&gt;http://community.qlik.com/thread/86031&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Sep 2013 11:01:23 GMT</pubDate>
    <dc:creator>techvarun</dc:creator>
    <dc:date>2013-09-12T11:01:23Z</dc:date>
    <item>
      <title>Testing a date for being a working day</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515360#M192446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to represent some data in a calendar style and want to show the non-working days as greyed out. I have the data displaying OK but cannot crack the weekend bit. I'm not too worried about bank holidays.Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 10:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515360#M192446</guid>
      <dc:creator />
      <dc:date>2013-09-12T10:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Testing a date for being a working day</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515361#M192447</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;Please attach an example document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 10:53:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515361#M192447</guid>
      <dc:creator />
      <dc:date>2013-09-12T10:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Testing a date for being a working day</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515362#M192448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; this link may help &lt;A _jive_internal="true" href="https://community.qlik.com/thread/86031"&gt;http://community.qlik.com/thread/86031&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 11:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515362#M192448</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2013-09-12T11:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Testing a date for being a working day</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515363#M192449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please read this blog post &lt;A href="http://yahqblog.blogspot.in/2010/09/qlikview-working-day-functions.html"&gt;http://yahqblog.blogspot.in/2010/09/qlikview-working-day-functions.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will get an idea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 11:02:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515363#M192449</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2013-09-12T11:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Testing a date for being a working day</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515364#M192450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Networkdays gives me the number of working days between two dates, I'm OK with that but what I want is whether a specific date is a working day. I think I can work with weekday(date)&amp;nbsp; but if I apply that to my model it only gives a day number where I have an entry in the source data, Ideally I want to set the colour of the cell for each weekend day to be grey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the model to the original post the offending chart is on the second tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 11:29:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515364#M192450</guid>
      <dc:creator />
      <dc:date>2013-09-12T11:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Testing a date for being a working day</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515365#M192451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guess you could change the background colour of your dimension/expression (open the extra options within dimension/expression: +)&lt;/P&gt;&lt;P&gt;Adding an if statement using the weekday(date) should be enough&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 11:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515365#M192451</guid>
      <dc:creator />
      <dc:date>2013-09-12T11:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Testing a date for being a working day</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515366#M192452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It says access denied when trying to open it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 11:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515366#M192452</guid>
      <dc:creator />
      <dc:date>2013-09-12T11:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Testing a date for being a working day</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515367#M192453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry yes it's set as having section access try this one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting closer in using weekday to set the background color of the expression but that only works for the cells where there is data in the source file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 11:53:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515367#M192453</guid>
      <dc:creator />
      <dc:date>2013-09-12T11:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Testing a date for being a working day</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515368#M192454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It still says access denied?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 11:58:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515368#M192454</guid>
      <dc:creator />
      <dc:date>2013-09-12T11:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Testing a date for being a working day</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515369#M192455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope this one will work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 12:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515369#M192455</guid>
      <dc:creator />
      <dc:date>2013-09-12T12:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Testing a date for being a working day</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515370#M192456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Colin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try creating a variable :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vDate =weekday(date(YourDateField()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then an If Statement like example: If($(vDate) = 'Sat',LightBlue()).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 12:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515370#M192456</guid>
      <dc:creator />
      <dc:date>2013-09-12T12:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Testing a date for being a working day</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515371#M192457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Close&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I've done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(weekday(makedate([Absence Year],[Absence Month],[Absence Day])) ='Sat', green() ,white())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but still only highlighting those cells where there is source data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 12:52:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515371#M192457</guid>
      <dc:creator />
      <dc:date>2013-09-12T12:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Testing a date for being a working day</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515372#M192458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=if(weekday(makedate([Absence Year],[Absence Month],[Absence Day])) ='Sat' or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;weekday(makedate([Absence Year],[Absence Month],[Absence Day])) ='Sun', green() ,white())&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 13:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515372#M192458</guid>
      <dc:creator />
      <dc:date>2013-09-12T13:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Testing a date for being a working day</title>
      <link>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515373#M192459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="chart.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/46489_chart.jpg" style="width: 620px; height: 424px;" /&gt;&lt;/P&gt;&lt;P&gt;As you can see it is correctly highlighting where there are entries but for the rest of the chard we background is still light blue. I'd like to show weekends as green throughout the chart like it would be on a calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your efforts so far, keep them coming &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 13:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Testing-a-date-for-being-a-working-day/m-p/515373#M192459</guid>
      <dc:creator />
      <dc:date>2013-09-12T13:17:13Z</dc:date>
    </item>
  </channel>
</rss>

