<?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 specific date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/specific-date/m-p/2528653#M107579</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;i have qliksense application usally we are running manually evrymonth 10th&amp;nbsp; .&lt;/P&gt;&lt;P&gt;now customer is asking to run it automatically every month 10&amp;nbsp;&lt;/P&gt;&lt;P&gt;conditons:&amp;nbsp; if 10th day is saturday or sunday (weekend) it should run on monday&lt;/P&gt;&lt;P&gt;and exclude all holidays&amp;nbsp; also&amp;nbsp;&lt;/P&gt;&lt;P&gt;this should be done in Qliksense script&amp;nbsp; not from qmc.&lt;/P&gt;&lt;P&gt;any sample Qliksense app is there that will be helpful&lt;/P&gt;&lt;P&gt;how to do any ideas suggestions ?&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121051"&gt;@QFabian&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Aug 2025 09:35:56 GMT</pubDate>
    <dc:creator>Manni_SM</dc:creator>
    <dc:date>2025-08-28T09:35:56Z</dc:date>
    <item>
      <title>specific date</title>
      <link>https://community.qlik.com/t5/App-Development/specific-date/m-p/2528653#M107579</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;i have qliksense application usally we are running manually evrymonth 10th&amp;nbsp; .&lt;/P&gt;&lt;P&gt;now customer is asking to run it automatically every month 10&amp;nbsp;&lt;/P&gt;&lt;P&gt;conditons:&amp;nbsp; if 10th day is saturday or sunday (weekend) it should run on monday&lt;/P&gt;&lt;P&gt;and exclude all holidays&amp;nbsp; also&amp;nbsp;&lt;/P&gt;&lt;P&gt;this should be done in Qliksense script&amp;nbsp; not from qmc.&lt;/P&gt;&lt;P&gt;any sample Qliksense app is there that will be helpful&lt;/P&gt;&lt;P&gt;how to do any ideas suggestions ?&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121051"&gt;@QFabian&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 09:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/specific-date/m-p/2528653#M107579</guid>
      <dc:creator>Manni_SM</dc:creator>
      <dc:date>2025-08-28T09:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: specific date</title>
      <link>https://community.qlik.com/t5/App-Development/specific-date/m-p/2528661#M107581</link>
      <description>&lt;P&gt;Hi, you can load the app every day, or from 10th to 13th, 14th, 15th, or wathever day that can avoid many consecutive holidays... it's not clear what it should do if 10 is saturday or sunday, and the next monday is holiday.&lt;/P&gt;&lt;P&gt;At the start of the script you can load a table with all holidays, the check the date and that table to load a flag, something like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LET vMonthlyLoad = If(Num(WeekDay(Today())&amp;gt;=5 or Exists('HolidayDate',Date(Today(),'DateFormatOfHolidays')
  ,0
  ,If(Month(ReloadTime())=Month(Today())
    ,0
    ,If(Day(Today()&amp;lt;10
      ,0
      ,1)));&lt;/LI-CODE&gt;&lt;P&gt;I haven't tested so maybe there is some kind of error, the intention is:&lt;/P&gt;&lt;P&gt;- If today is is saturday, sunday or holiday -&amp;gt; don't load&lt;/P&gt;&lt;P&gt;- If the app has already being loaded this month -&amp;gt; don't load&lt;/P&gt;&lt;P&gt;- In other case, if day is above 10 -&amp;gt; load the app&lt;/P&gt;&lt;P&gt;So if 10 was saturday, 11 is sunday, 12 and 13 are holidays, then it will load on 14th, and on 15th it will not load because it has been already loaded this month on 14th.&lt;/P&gt;&lt;P&gt;Then after that just add:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IF $(vMonthLoad)=0 THEN
    Exit Script;
ENDIF &lt;/LI-CODE&gt;&lt;P&gt;And after this the rest of the script&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 10:03:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/specific-date/m-p/2528661#M107581</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2025-08-28T10:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: specific date</title>
      <link>https://community.qlik.com/t5/App-Development/specific-date/m-p/2528668#M107583</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the method&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;suggested should work, the only problem I see, is that there'd be no data available after the Exit script statement, since the the script would've run successfully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you'd probably need to store all tables after reloads matching the criteria and load the data from those QVDs on all other loads.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 11:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/specific-date/m-p/2528668#M107583</guid>
      <dc:creator>lennart_mo</dc:creator>
      <dc:date>2025-08-28T11:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: specific date</title>
      <link>https://community.qlik.com/t5/App-Development/specific-date/m-p/2528786#M107606</link>
      <description>&lt;P&gt;True, I was thinking in a layer development, and that will be on the app that generates the data for the user app.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 06:26:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/specific-date/m-p/2528786#M107606</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2025-08-29T06:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: specific date</title>
      <link>https://community.qlik.com/t5/App-Development/specific-date/m-p/2528844#M107615</link>
      <description>&lt;P&gt;A way around this problem could be to use the app it self as a source during weekends and holidays&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IF $(vMonthLoad)=0 THEN
    Binary LIB://reference_to_your_app;
    Exit Script;
ENDIF &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will keep the data as is, and you won't have an issue with an empty app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another solution is to force an script error every time the weekday condition is not met. (I don't enjoy this solution my self, but I've seen it around.)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IF $(vMonthLoad)=0 THEN
    This row causes an error;
ENDIF &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 13:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/specific-date/m-p/2528844#M107615</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2025-08-29T13:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: specific date</title>
      <link>https://community.qlik.com/t5/App-Development/specific-date/m-p/2530063#M107750</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/300891"&gt;@lennart_mo&lt;/a&gt;&amp;nbsp; &amp;nbsp;it worked all your suggestions &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 07:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/specific-date/m-p/2530063#M107750</guid>
      <dc:creator>Manni_SM</dc:creator>
      <dc:date>2025-09-08T07:29:17Z</dc:date>
    </item>
  </channel>
</rss>

