<?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: Finding MonthstartDate excluding Saturday and Sunday in Qliksense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Finding-MonthstartDate-excluding-Saturday-and-Sunday-in/m-p/2159145#M93984</link>
    <description>&lt;P&gt;Try it with:&lt;/P&gt;
&lt;P&gt;=lastworkdate(monthstart(today(),5),1)&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jan 2024 13:51:37 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2024-01-08T13:51:37Z</dc:date>
    <item>
      <title>Finding MonthstartDate excluding Saturday and Sunday in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-MonthstartDate-excluding-Saturday-and-Sunday-in/m-p/2159029#M93957</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a requirement where user refreshes data in Access Database on Weekday1 of the month. Now this excludes Sat or Sun. I have to implement same in Qliksense.&lt;/P&gt;
&lt;P&gt;I have created a Monthstart Variable as&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Date(AddMonths(MonthStart(Today()),-1),'MM/DD/YYYY')&lt;/P&gt;
&lt;P&gt;In the main table, i am applying this in the where condition as&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;ALCUTOFF,&lt;BR /&gt;ALUNIT,&lt;BR /&gt;ALPOOLID,&lt;BR /&gt;ALTRUIND&lt;BR /&gt;FROM Qvd&amp;nbsp;&lt;BR /&gt;where ALCUTOFF='$(vMonthStartDate1)';&lt;/P&gt;
&lt;P&gt;This is working fine for Dec 2023,Jan 2024 till May 2024 month as monthstart date is on weekday. But in the future month like June 2024, Monthstart date is on Sat(01/06/2024). I need to exclude this Saturday,Sunday and show Monthstart date as '03/06/2024'. How can i do this?&lt;/P&gt;
&lt;P&gt;Any help is appreciated. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 09:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-MonthstartDate-excluding-Saturday-and-Sunday-in/m-p/2159029#M93957</guid>
      <dc:creator>SunainaUmberkar</dc:creator>
      <dc:date>2024-01-08T09:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Finding MonthstartDate excluding Saturday and Sunday in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-MonthstartDate-excluding-Saturday-and-Sunday-in/m-p/2159145#M93984</link>
      <description>&lt;P&gt;Try it with:&lt;/P&gt;
&lt;P&gt;=lastworkdate(monthstart(today(),5),1)&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 13:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-MonthstartDate-excluding-Saturday-and-Sunday-in/m-p/2159145#M93984</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-01-08T13:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Finding MonthstartDate excluding Saturday and Sunday in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-MonthstartDate-excluding-Saturday-and-Sunday-in/m-p/2160797#M94165</link>
      <description>&lt;P&gt;Hello Marcus,&lt;/P&gt;
&lt;P&gt;Thank you. It's working fine.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 01:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-MonthstartDate-excluding-Saturday-and-Sunday-in/m-p/2160797#M94165</guid>
      <dc:creator>SunainaUmberkar</dc:creator>
      <dc:date>2024-01-12T01:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Finding MonthstartDate excluding Saturday and Sunday in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-MonthstartDate-excluding-Saturday-and-Sunday-in/m-p/2411780#M94688</link>
      <description>&lt;P&gt;Hello Marcus,&lt;/P&gt;
&lt;P&gt;Is there a way to exclude holidays using lastworkdate function. I know we can provide an optional value as holiday, but we need to specify the holiday date. As for every month, holiday date will be different , how can I specify that in the script?&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 07:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-MonthstartDate-excluding-Saturday-and-Sunday-in/m-p/2411780#M94688</guid>
      <dc:creator>SunainaUmberkar</dc:creator>
      <dc:date>2024-01-29T07:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Finding MonthstartDate excluding Saturday and Sunday in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-MonthstartDate-excluding-Saturday-and-Sunday-in/m-p/2411806#M94689</link>
      <description>&lt;P&gt;The simple answer is - just add the list of weekend-days to the list of holidays. Lastly I did something similar for a customer project to emulate an intervalmatch-resolving purely within the Excel UI (without Power Query or macro-loops) just by applying multiple long lists of to excluding days to networkdays and similar functions. The same method of&amp;nbsp;alienated the holiday-parameter should be working in Qlik. And in general there mustn't be much hard-coded because most of such listings could be generated.&lt;/P&gt;
&lt;P&gt;Personally I suggest to consider a move of the logic to a master-calendar because there are much more possibilities as simply deriving a month or year from a date else working-days could be flagged and afterwards accumulated + aggregated (sum/min/max/...) and the first/last workingdays be flagged and many more. You could use thes information everywhere and it will be easier to pick the relevant ones from there (as the single source of truth) as applying the underlying logic each time when you need such an information.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 08:14:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-MonthstartDate-excluding-Saturday-and-Sunday-in/m-p/2411806#M94689</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-01-29T08:14:43Z</dc:date>
    </item>
  </channel>
</rss>

