<?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 Show relevant date in regular days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-relevant-date-in-regular-days/m-p/358588#M494192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I fully understand your requirement or how you want to relate your Begin / End fields the date you want to display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check for weekend, you could use weekday() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor470"&gt;&lt;/A&gt;&lt;A name="weekday"&gt;&lt;/A&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN class="Bold"&gt;weekday(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;date&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Week day. Returns an integer between 0-6. &lt;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;weekday( '1971-10-30' )&lt;/SPAN&gt; returns &lt;SPAN class="Italic"&gt;5&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;If the date format used does not correspond to the one set in your operating system, QlikView will not be able to make a correct interpretation. See above under &lt;A class="MCXref_0"&gt;&lt;EM&gt;day(date)&lt;/EM&gt;&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you need to load the holidays for your country from an external source, QV does not know any holidays by default. You can join a holiday table to your calendar and then do the check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2012 20:34:38 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-04-18T20:34:38Z</dc:date>
    <item>
      <title>Show relevant date in regular days</title>
      <link>https://community.qlik.com/t5/QlikView/Show-relevant-date-in-regular-days/m-p/358587#M494191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Goal:&lt;/P&gt;&lt;P&gt;Display the date in the table if the date is NOT a weekend (satur- and sunday) and NOT holiday in weekdays in the expressen screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The date system should be based on Norway or Denmark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem:&lt;/P&gt;&lt;P&gt;How should I do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table and its data is below and it is based on timestamp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 300px; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc; border: 1px solid #000000;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Begin&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc; border: 1px solid #000000;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;End&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 1px solid #000000;"&gt;2011-11-10 12:12:12&lt;/TD&gt;&lt;TD style="border: 1px solid #000000;"&gt;2011-11-12 12:12:12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 1px solid #000000;"&gt;2011-11-10 12:12:12&lt;/TD&gt;&lt;TD style="border: 1px solid #000000;"&gt;2011-11-11 08:12:12&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// JJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 20:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-relevant-date-in-regular-days/m-p/358587#M494191</guid>
      <dc:creator />
      <dc:date>2012-04-18T20:18:16Z</dc:date>
    </item>
    <item>
      <title>Show relevant date in regular days</title>
      <link>https://community.qlik.com/t5/QlikView/Show-relevant-date-in-regular-days/m-p/358588#M494192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I fully understand your requirement or how you want to relate your Begin / End fields the date you want to display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check for weekend, you could use weekday() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor470"&gt;&lt;/A&gt;&lt;A name="weekday"&gt;&lt;/A&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN class="Bold"&gt;weekday(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;date&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Week day. Returns an integer between 0-6. &lt;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;weekday( '1971-10-30' )&lt;/SPAN&gt; returns &lt;SPAN class="Italic"&gt;5&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;If the date format used does not correspond to the one set in your operating system, QlikView will not be able to make a correct interpretation. See above under &lt;A class="MCXref_0"&gt;&lt;EM&gt;day(date)&lt;/EM&gt;&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you need to load the holidays for your country from an external source, QV does not know any holidays by default. You can join a holiday table to your calendar and then do the check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 20:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-relevant-date-in-regular-days/m-p/358588#M494192</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-04-18T20:34:38Z</dc:date>
    </item>
    <item>
      <title>Show relevant date in regular days</title>
      <link>https://community.qlik.com/t5/QlikView/Show-relevant-date-in-regular-days/m-p/358589#M494193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"Not sure if I fully understand your requirement or how you want to relate your Begin / End fields the date you want to display."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this context, no relation between begin and end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 06:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-relevant-date-in-regular-days/m-p/358589#M494193</guid>
      <dc:creator />
      <dc:date>2012-04-19T06:07:14Z</dc:date>
    </item>
  </channel>
</rss>

