<?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 Error loading from the scheduler, and loading from the script goes fine in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-loading-from-the-scheduler-and-loading-from-the-script/m-p/1386985#M613932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! Help to solve the problem: when loading data in the desktop version, the boot is performed without problems, but when executing the load from the scheduler it drops into an error, when examining the log file I drew attention to the following lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: Error in expression:&lt;/P&gt;&lt;P&gt;Week takes 1 parameter&lt;/P&gt;&lt;P&gt;General Script Error&lt;/P&gt;&lt;P&gt;Execution Failed&lt;/P&gt;&lt;P&gt;Execution finished.&lt;/P&gt;&lt;P&gt;I use the parameter when defining the "week" and I really need it. &lt;/P&gt;&lt;P&gt;calendar:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [TempDate] as tmp_date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day([TempDate]) as [DAY],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: underline;"&gt;Week([TempDate],0,1) as [WEEK_NO],&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekName([TempDate]) as [WEEK_YEAR],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekDay([TempDate]) as [DAY_OF_WEEK],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month([TempDate]) as [MONTH],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName([TempDate]) as [MONTH_YEAR],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual('КВ'&amp;amp;Text(Div(Month([TempDate]),4)+1),Div(Month([TempDate]),4)+1)&amp;nbsp;&amp;nbsp;&amp;nbsp; as [QARTER],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QuarterName([TempDate]) as [QARTER_YEAR],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year([TempDate]) as [YEAR]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help, please, how to get out of this situation and why when executing the script from the application there are no errors, but when executing from the scheduler an error occurs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Oct 2017 12:23:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-10-03T12:23:06Z</dc:date>
    <item>
      <title>Error loading from the scheduler, and loading from the script goes fine</title>
      <link>https://community.qlik.com/t5/QlikView/Error-loading-from-the-scheduler-and-loading-from-the-script/m-p/1386985#M613932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! Help to solve the problem: when loading data in the desktop version, the boot is performed without problems, but when executing the load from the scheduler it drops into an error, when examining the log file I drew attention to the following lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: Error in expression:&lt;/P&gt;&lt;P&gt;Week takes 1 parameter&lt;/P&gt;&lt;P&gt;General Script Error&lt;/P&gt;&lt;P&gt;Execution Failed&lt;/P&gt;&lt;P&gt;Execution finished.&lt;/P&gt;&lt;P&gt;I use the parameter when defining the "week" and I really need it. &lt;/P&gt;&lt;P&gt;calendar:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [TempDate] as tmp_date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day([TempDate]) as [DAY],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: underline;"&gt;Week([TempDate],0,1) as [WEEK_NO],&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekName([TempDate]) as [WEEK_YEAR],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekDay([TempDate]) as [DAY_OF_WEEK],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month([TempDate]) as [MONTH],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName([TempDate]) as [MONTH_YEAR],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual('КВ'&amp;amp;Text(Div(Month([TempDate]),4)+1),Div(Month([TempDate]),4)+1)&amp;nbsp;&amp;nbsp;&amp;nbsp; as [QARTER],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QuarterName([TempDate]) as [QARTER_YEAR],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year([TempDate]) as [YEAR]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help, please, how to get out of this situation and why when executing the script from the application there are no errors, but when executing from the scheduler an error occurs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 12:23:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-loading-from-the-scheduler-and-loading-from-the-script/m-p/1386985#M613932</guid>
      <dc:creator />
      <dc:date>2017-10-03T12:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading from the scheduler, and loading from the script goes fine</title>
      <link>https://community.qlik.com/t5/QlikView/Error-loading-from-the-scheduler-and-loading-from-the-script/m-p/1386986#M613933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try to use &lt;/P&gt;&lt;P&gt;Week(weekstart([TempPeriod]))&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;as Week_No&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week(CalDate) as &lt;SPAN style="font-size: 13.3333px;"&gt;Week_No&lt;/SPAN&gt;,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 16:37:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-loading-from-the-scheduler-and-loading-from-the-script/m-p/1386986#M613933</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-10-03T16:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading from the scheduler, and loading from the script goes fine</title>
      <link>https://community.qlik.com/t5/QlikView/Error-loading-from-the-scheduler-and-loading-from-the-script/m-p/1386987#M613934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! Thanks for the help! the decision with this line helped: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Week(weekstart([TempPeriod]))&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;as Week_No&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 09:07:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-loading-from-the-scheduler-and-loading-from-the-script/m-p/1386987#M613934</guid>
      <dc:creator />
      <dc:date>2017-10-20T09:07:00Z</dc:date>
    </item>
  </channel>
</rss>

