<?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: Month Start ! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-Start/m-p/113040#M762587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My best advice to you would be to get a master calendar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2018 12:42:24 GMT</pubDate>
    <dc:creator>wilsonwebb</dc:creator>
    <dc:date>2018-08-07T12:42:24Z</dc:date>
    <item>
      <title>Month Start !</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Start/m-p/113034#M762581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing scenario as my script should run on:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Month start day ( eg 1st Aug)&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Month start date should be week day (eg 'Mon''Tue''Wed''Thu''Fri') , if month 1 st day is 'Sat' or 'Sun' script should not run.&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;if month 1st day 'Sun' (Eg: 1 Aug) then script should run on next day (Eg : 2nd Aug Mon)&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Will This Work:?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'inherit','serif';"&gt;if match(Month Start(weekday(today()), 'Sun', 'Sat') )then&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'Helvetica','sans-serif';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'inherit','serif';"&gt; exit script;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'inherit','serif';"&gt;end if&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'inherit','serif';"&gt;Script.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'inherit','serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'inherit','serif';"&gt;Please provide your Suggestion&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'inherit','serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'inherit','serif';"&gt;Thanks in Advance!&lt;BR /&gt;&lt;/STRONG&gt;&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/Month-Start/m-p/113034#M762581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Month Start !</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Start/m-p/113035#M762582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;May be like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(&lt;STRONG style="font-style: inherit; font-size: 10pt; color: #3d3d3d;"&gt; MonthStart(today())= today() and not Wildmatch(&lt;STRONG style="font-size: 10pt; color: #3d3d3d;"&gt;weekday(today()), 'Sun', 'Sat')&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 10pt; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 10pt; color: #3d3d3d;"&gt;ExPression 1;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 10pt; color: #3d3d3d;"&gt;IF(Monthstart (Today()+1= Today() and wildmatch(weekday(today()-1),'Sun','Sat')&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; color: #3d3d3d;"&gt;ExPression 1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000; background: white;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000; background: white;"&gt;))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000; background: white;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000; background: white;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000; background: white;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000; background: white;"&gt;Arvind Patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:55:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Start/m-p/113035#M762582</guid>
      <dc:creator>arvind_patil</dc:creator>
      <dc:date>2018-08-07T09:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Month Start !</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Start/m-p/113036#M762583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arvind thanks for your suggestion, Can u please elaborate this code!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 10:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Start/m-p/113036#M762583</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-07T10:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Month Start !</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Start/m-p/113037#M762584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If NOT today()=LastWork&lt;STRONG&gt;Date&lt;/STRONG&gt;(MonthStart(Today()),1) Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Script;&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Edit: correction (highlighted) in function.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 10:08:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Start/m-p/113037#M762584</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-08-07T10:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Month Start !</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Start/m-p/113038#M762585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Tresesco thanks for your suggestion, Can u please elaborate this code!! &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 10:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Start/m-p/113038#M762585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-07T10:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Month Start !</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Start/m-p/113039#M762586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is supposed to do what you wished it to do. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/DateAndTimeFunctions/lastworkdate.htm" title="https://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/DateAndTimeFunctions/lastworkdate.htm"&gt;LastWorkDate&lt;/A&gt; with argument 1 - moves the date ahead if it falls in weekend. That way, you can handle the situation when a month start date falls in weekend and get the next working date, i.e a Monday like you wanted. Then we are comparing, if it is NOT today then we can safely exit the script. Or, you can remove the NOT and include the script under the conditioning, telling, the script would be executed only when today() is a month start excluding weekend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 11:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Start/m-p/113039#M762586</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-08-07T11:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Month Start !</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Start/m-p/113040#M762587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My best advice to you would be to get a master calendar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 12:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Start/m-p/113040#M762587</guid>
      <dc:creator>wilsonwebb</dc:creator>
      <dc:date>2018-08-07T12:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Month Start !</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Start/m-p/113041#M762588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your explanation Tresesco!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 13:17:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Start/m-p/113041#M762588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-08T13:17:23Z</dc:date>
    </item>
  </channel>
</rss>

