<?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 Reloading qlikview application monthly through Publisher in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reloading-qlikview-application-monthly-through-Publisher/m-p/1332121#M411404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have too reload my qlikview application through publisher monthly.For example: Reload application every month Tuesday after 3rd Saturday.Is this possible to schedule to reload based on the above condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am aware that we can do on every weekday there is option on trigger to run monthly on every 3rd Saturday.But not for 1st Tuesday after 3rd Saturday.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;For month of April Qlik data load process should happen on night of 17&lt;SUP&gt;th&lt;/SUP&gt; (3&lt;SUP&gt;rd&lt;/SUP&gt; Tuesday) while in May it will be on night of 22&lt;SUP&gt;nd&lt;/SUP&gt; (i.e. 4&lt;SUP&gt;th&lt;/SUP&gt; Tuesday)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone helps me on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mayank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Apr 2017 18:59:20 GMT</pubDate>
    <dc:creator>mayankraoka</dc:creator>
    <dc:date>2017-04-03T18:59:20Z</dc:date>
    <item>
      <title>Reloading qlikview application monthly through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Reloading-qlikview-application-monthly-through-Publisher/m-p/1332121#M411404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have too reload my qlikview application through publisher monthly.For example: Reload application every month Tuesday after 3rd Saturday.Is this possible to schedule to reload based on the above condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am aware that we can do on every weekday there is option on trigger to run monthly on every 3rd Saturday.But not for 1st Tuesday after 3rd Saturday.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;For month of April Qlik data load process should happen on night of 17&lt;SUP&gt;th&lt;/SUP&gt; (3&lt;SUP&gt;rd&lt;/SUP&gt; Tuesday) while in May it will be on night of 22&lt;SUP&gt;nd&lt;/SUP&gt; (i.e. 4&lt;SUP&gt;th&lt;/SUP&gt; Tuesday)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone helps me on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mayank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 18:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reloading-qlikview-application-monthly-through-Publisher/m-p/1332121#M411404</guid>
      <dc:creator>mayankraoka</dc:creator>
      <dc:date>2017-04-03T18:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading qlikview application monthly through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Reloading-qlikview-application-monthly-through-Publisher/m-p/1332122#M411405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mayank,&lt;/P&gt;&lt;P&gt;I donot know if that is possible with QV Server Console but you could do the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You could reload the document daily and look at the current day.&lt;/LI&gt;&lt;LI&gt;If the day is tuesday after the 3rd saturday of the month you go on with the reload.&lt;/LI&gt;&lt;LI&gt;Else:&lt;UL&gt;&lt;LI&gt;If you have dependent documents waiting this one to finish in order to execute themselves and &lt;SPAN style="text-decoration: underline;"&gt;you donot want&lt;/SPAN&gt; them to do it, you can abort the current reload with a sintaxis fail.&lt;/LI&gt;&lt;LI&gt;If you have dependent &lt;SPAN style="font-size: 13.3333px;"&gt;documents waiting this one to finish in order to execute themselves and you donot mind them to do it or this has no dependents, then EXIT SCRIPT.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How you you if the day is tuesday after the 3rd saturday of the month? Using this formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vsThisIsTheDay =Num(Day(Today())) = Num(Pick(Num(Weekday(MakeDate(Year(Today()), Month(Today())))) + 1, 23, 22, 21, 20, 19, 18, 24));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 20:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reloading-qlikview-application-monthly-through-Publisher/m-p/1332122#M411405</guid>
      <dc:creator>hector_munoz</dc:creator>
      <dc:date>2017-04-03T20:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading qlikview application monthly through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Reloading-qlikview-application-monthly-through-Publisher/m-p/1332123#M411406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hector,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain the below logic?How it is checking 1st Tuesday after 3rd Saturday&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET vsThisIsTheDay =Num(Day(Today())) = Num(Pick(Num(Weekday(MakeDate(Year(Today()), Month(Today())))) + 1, 23, 22, 21, 20, 19, 18, 24))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mayank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 06:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reloading-qlikview-application-monthly-through-Publisher/m-p/1332123#M411406</guid>
      <dc:creator>mayankraoka</dc:creator>
      <dc:date>2017-04-05T06:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reloading qlikview application monthly through Publisher</title>
      <link>https://community.qlik.com/t5/QlikView/Reloading-qlikview-application-monthly-through-Publisher/m-p/1332124#M411407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mayak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I do in the expession is compare current day (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Num(Day(Today()))&lt;/SPAN&gt;) with the first tuesday after the third saturday (rest of the expression).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps for the second part of the expression:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Weekday(MakeDate(Year(Today()), Month(Today())))): number of the weekday of the first day of the current month. For example, if we are in April, the 1st April is saturday, so this expression will return 5. 0-monday, 1-tuesday, ..., 6-sunday.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;To the above result we add 1 as Pick() uses a range starting at 1.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Then, if the weekday of the 1st day of the current week is monday (1), the first tuesday after the third month will be the day 23, if tuesday then 22, if wednesday then 21, ..., if sunday then 24.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can test that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if a month starts in monday, the first tuesday after the third saturday is the 23 (as May'17 or Jan'18)&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if a month starts in tuesday, the first tuesday after the third saturday is the 22 (as Aug'17 or May'18)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if a month starts in wednesday, the first tuesday after the third saturday is the 21 (as Feb'17 or Mar'17)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if a month starts in thursday, the first tuesday after the third saturday is the 20 (as Jun'17 or Feb'18)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if a month starts in friday, the first tuesday after the third saturday is the 19 (as Sep'17 or Dec'17)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if a month starts in saturday, the first tuesday after the third saturday is the 18 (as Abr'17 or Jul'17)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if a month starts in sunday, the first tuesday after the third saturday is the 24 (as Jan'17 or Oct'17)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 07:17:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reloading-qlikview-application-monthly-through-Publisher/m-p/1332124#M411407</guid>
      <dc:creator>hector_munoz</dc:creator>
      <dc:date>2017-04-05T07:17:54Z</dc:date>
    </item>
  </channel>
</rss>

