<?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 Find first workdate in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Find-first-workdate/m-p/142367#M21846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But that will slide over to the previous month sometimes and return e.g the last day of the previous month? How do I define no_of_workdays in a good way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Apr 2009 22:57:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-04-24T22:57:32Z</dc:date>
    <item>
      <title>Find first workdate</title>
      <link>https://community.qlik.com/t5/QlikView/Find-first-workdate/m-p/142365#M21844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the easiest way to identify the first workdate (Mon-fri) for each month?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 22:31:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-first-workdate/m-p/142365#M21844</guid>
      <dc:creator />
      <dc:date>2009-04-24T22:31:28Z</dc:date>
    </item>
    <item>
      <title>Find first workdate</title>
      <link>https://community.qlik.com/t5/QlikView/Find-first-workdate/m-p/142366#M21845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try function firstworkdate. Syntax is: firstworkdate&lt;A id="firstworkdate" name="firstworkdate"&gt;&lt;/A&gt;( &lt;EM&gt;end_date, no_of_workdays {, holiday&lt;/EM&gt;} )&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 22:44:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-first-workdate/m-p/142366#M21845</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2009-04-24T22:44:05Z</dc:date>
    </item>
    <item>
      <title>Find first workdate</title>
      <link>https://community.qlik.com/t5/QlikView/Find-first-workdate/m-p/142367#M21846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But that will slide over to the previous month sometimes and return e.g the last day of the previous month? How do I define no_of_workdays in a good way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 22:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-first-workdate/m-p/142367#M21846</guid>
      <dc:creator />
      <dc:date>2009-04-24T22:57:32Z</dc:date>
    </item>
    <item>
      <title>Find first workdate</title>
      <link>https://community.qlik.com/t5/QlikView/Find-first-workdate/m-p/142368#M21847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think :&lt;/P&gt;&lt;P&gt;Today() - MonthStart(Today()) should do the trick&lt;/P&gt;&lt;P&gt;Mansyno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 23:07:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-first-workdate/m-p/142368#M21847</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2009-04-24T23:07:55Z</dc:date>
    </item>
    <item>
      <title>Find first workdate</title>
      <link>https://community.qlik.com/t5/QlikView/Find-first-workdate/m-p/142369#M21848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't tried this function myself. Will check.&lt;/P&gt;&lt;P&gt;In the meantime you may calculate it yourself in the code:&lt;/P&gt;&lt;P&gt;LOAD Monthname, date(min(Date)) as FirstWorkDate group by Monthname;&lt;BR /&gt;LOAD *, monthname(Date) as Monthname&lt;BR /&gt; where weekday(Date) &amp;lt; 5;&lt;BR /&gt;LOAD today()-recno() as Date autogenerate 365;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 23:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-first-workdate/m-p/142369#M21848</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2009-04-24T23:24:15Z</dc:date>
    </item>
    <item>
      <title>Find first workdate</title>
      <link>https://community.qlik.com/t5/QlikView/Find-first-workdate/m-p/142370#M21849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But that will result in a date from a previous month?&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;firstworkdate('2009-04-10',Today() - MonthStart(Today()))&lt;/P&gt;&lt;P&gt;returns 3/11/2009 for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 23:26:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-first-workdate/m-p/142370#M21849</guid>
      <dc:creator />
      <dc:date>2009-04-24T23:26:47Z</dc:date>
    </item>
    <item>
      <title>Find first workdate</title>
      <link>https://community.qlik.com/t5/QlikView/Find-first-workdate/m-p/142371#M21850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I will do it in the load script instead. Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 23:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-first-workdate/m-p/142371#M21850</guid>
      <dc:creator />
      <dc:date>2009-04-24T23:31:58Z</dc:date>
    </item>
  </channel>
</rss>

