<?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: Calender suddenly not working anymore in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calender-suddenly-not-working-anymore/m-p/1644752#M594176</link>
    <description>&lt;P&gt;I modified your script to work with some sales data I have and it worked okay, the major difference between your script and mine is;&lt;/P&gt;&lt;P&gt;R6_Data:&lt;BR /&gt;LOAD&lt;BR /&gt;MIN(DATE_ACCEPTANCE) AS FIRST_DATE_ACCEPTANCE,&lt;BR /&gt;MAX(DATE_ACCEPTANCE) AS LAST_DATE_ACCEPTANCE&lt;BR /&gt;RESIDENT SalesTable;&lt;/P&gt;&lt;P&gt;It is as if your script has not defined where to get&amp;nbsp;DATE_ACCEPTANCE from?&lt;/P&gt;&lt;P&gt;Here is the whole script;&lt;/P&gt;&lt;P&gt;R6_Data:&lt;BR /&gt;LOAD&lt;BR /&gt;MIN(DATE_ACCEPTANCE) AS FIRST_DATE_ACCEPTANCE,&lt;BR /&gt;MAX(DATE_ACCEPTANCE) AS LAST_DATE_ACCEPTANCE&lt;BR /&gt;RESIDENT SalesTable;&lt;/P&gt;&lt;P&gt;LET vMinDatum = Num(floor(Peek('FIRST_DATE_ACCEPTANCE', 0, 'R6_Data')));&lt;BR /&gt;LET vMaxDatum = Num(floor(Peek('LAST_DATE_ACCEPTANCE', 0, 'R6_Data')));&lt;/P&gt;&lt;P&gt;Datumsfeld:&lt;BR /&gt;LOAD&lt;BR /&gt;date($(vMinDatum) + IterNo() -1) as Datumsfeld&lt;BR /&gt;AutoGenerate (1)&lt;BR /&gt;WHILE $(vMinDatum) + IterNo() -1 &amp;lt;= $(vMaxDatum);&lt;/P&gt;&lt;P&gt;Kalender:&lt;BR /&gt;LOAD&lt;BR /&gt;Datumsfeld as DATE_ACCEPTANCE,&lt;BR /&gt;day(Datumsfeld) as Tag,&lt;BR /&gt;week(Datumsfeld) as Woche,&lt;BR /&gt;Month(Datumsfeld) as Monat,&lt;BR /&gt;Year(Datumsfeld) as Jahr&lt;BR /&gt;//applymap('MAP_Quartale', Month(Datumsfeld), Null()) as Quartal&lt;BR /&gt;Resident Datumsfeld;&lt;/P&gt;&lt;P&gt;DROP TABLE Datumsfeld;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2019 11:11:37 GMT</pubDate>
    <dc:creator>Victor_Alumanah</dc:creator>
    <dc:date>2019-11-08T11:11:37Z</dc:date>
    <item>
      <title>Calender suddenly not working anymore</title>
      <link>https://community.qlik.com/t5/QlikView/Calender-suddenly-not-working-anymore/m-p/1644723#M594175</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i've made a qvw a while back and it worked fine. The automatic reload on the Qlikview Server worked fine. Everything worked fine until 5th of November.&lt;/P&gt;&lt;P&gt;I noticed in the task overview of QVS that the task for the reload of the document suddenly failed. I checked and it was the standard error message when your calender isn't working "the field 'a' can't be found".&lt;/P&gt;&lt;P&gt;But i don't get why? Nothing changed. Nobody besides me has access to the qvw application and i didn't change anything.&lt;/P&gt;&lt;P&gt;Does anybody know why qlikview does that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it helps here is the script:&lt;/P&gt;&lt;P&gt;LET vMinDatum = Num(floor(Peek('DATE_ACCEPTANCE', 0, 'R6_Data')));&lt;BR /&gt;LET vMaxDatum = Num(floor(Peek('DATE_ACCEPTANCE', -1, 'R6_Data')));&lt;/P&gt;&lt;P&gt;Datumsfeld:&lt;BR /&gt;LOAD&lt;BR /&gt;date($(vMinDatum) + IterNo() -1) as Datumsfeld&lt;BR /&gt;AutoGenerate (1)&lt;BR /&gt;WHILE $(vMinDatum) + IterNo() -1 &amp;lt;= $(vMaxDatum);&lt;/P&gt;&lt;P&gt;Kalender:&lt;BR /&gt;LOAD&lt;BR /&gt;Datumsfeld as DATE_ACCEPTANCE,&lt;BR /&gt;day(Datumsfeld) as Tag,&lt;BR /&gt;week(Datumsfeld) as Woche,&lt;BR /&gt;Month(Datumsfeld) as Monat,&lt;BR /&gt;Year(Datumsfeld) as Jahr,&lt;BR /&gt;applymap('MAP_Quartale', Month(Datumsfeld), Null()) as Quartal&lt;BR /&gt;Resident Datumsfeld;&lt;/P&gt;&lt;P&gt;DROP TABLE Datumsfeld;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table 'R6_Data' is an SQL select from our DB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calender-suddenly-not-working-anymore/m-p/1644723#M594175</guid>
      <dc:creator>Lukas_H</dc:creator>
      <dc:date>2024-11-16T01:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calender suddenly not working anymore</title>
      <link>https://community.qlik.com/t5/QlikView/Calender-suddenly-not-working-anymore/m-p/1644752#M594176</link>
      <description>&lt;P&gt;I modified your script to work with some sales data I have and it worked okay, the major difference between your script and mine is;&lt;/P&gt;&lt;P&gt;R6_Data:&lt;BR /&gt;LOAD&lt;BR /&gt;MIN(DATE_ACCEPTANCE) AS FIRST_DATE_ACCEPTANCE,&lt;BR /&gt;MAX(DATE_ACCEPTANCE) AS LAST_DATE_ACCEPTANCE&lt;BR /&gt;RESIDENT SalesTable;&lt;/P&gt;&lt;P&gt;It is as if your script has not defined where to get&amp;nbsp;DATE_ACCEPTANCE from?&lt;/P&gt;&lt;P&gt;Here is the whole script;&lt;/P&gt;&lt;P&gt;R6_Data:&lt;BR /&gt;LOAD&lt;BR /&gt;MIN(DATE_ACCEPTANCE) AS FIRST_DATE_ACCEPTANCE,&lt;BR /&gt;MAX(DATE_ACCEPTANCE) AS LAST_DATE_ACCEPTANCE&lt;BR /&gt;RESIDENT SalesTable;&lt;/P&gt;&lt;P&gt;LET vMinDatum = Num(floor(Peek('FIRST_DATE_ACCEPTANCE', 0, 'R6_Data')));&lt;BR /&gt;LET vMaxDatum = Num(floor(Peek('LAST_DATE_ACCEPTANCE', 0, 'R6_Data')));&lt;/P&gt;&lt;P&gt;Datumsfeld:&lt;BR /&gt;LOAD&lt;BR /&gt;date($(vMinDatum) + IterNo() -1) as Datumsfeld&lt;BR /&gt;AutoGenerate (1)&lt;BR /&gt;WHILE $(vMinDatum) + IterNo() -1 &amp;lt;= $(vMaxDatum);&lt;/P&gt;&lt;P&gt;Kalender:&lt;BR /&gt;LOAD&lt;BR /&gt;Datumsfeld as DATE_ACCEPTANCE,&lt;BR /&gt;day(Datumsfeld) as Tag,&lt;BR /&gt;week(Datumsfeld) as Woche,&lt;BR /&gt;Month(Datumsfeld) as Monat,&lt;BR /&gt;Year(Datumsfeld) as Jahr&lt;BR /&gt;//applymap('MAP_Quartale', Month(Datumsfeld), Null()) as Quartal&lt;BR /&gt;Resident Datumsfeld;&lt;/P&gt;&lt;P&gt;DROP TABLE Datumsfeld;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 11:11:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calender-suddenly-not-working-anymore/m-p/1644752#M594176</guid>
      <dc:creator>Victor_Alumanah</dc:creator>
      <dc:date>2019-11-08T11:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calender suddenly not working anymore</title>
      <link>https://community.qlik.com/t5/QlikView/Calender-suddenly-not-working-anymore/m-p/1646437#M594177</link>
      <description>&lt;P&gt;Lukas, did Victor's post help you get things working again?&amp;nbsp; If so, do not forget to circle back to the thread and use the Accept as Solution button on his post to give him credit for the help and to let others know that worked for you.&amp;nbsp; One thing that is helpful on these types of posts is the actual Script/Document log if you have those running, as they generally allow folks to see exactly what is transpiring, it can be difficult to offer up explanations without that, keep that in mind for future posts.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 14:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calender-suddenly-not-working-anymore/m-p/1646437#M594177</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-11-13T14:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calender suddenly not working anymore</title>
      <link>https://community.qlik.com/t5/QlikView/Calender-suddenly-not-working-anymore/m-p/1646955#M594178</link>
      <description>&lt;P&gt;It's working again, thanks!&lt;/P&gt;&lt;P&gt;But i don't get why? Your script only has the extra step of getting the max &amp;amp; min date in a resident statement.&lt;/P&gt;&lt;P&gt;And then the FIRST_DATE_ACCEPTANCE &amp;amp; LAST_DATE_ACCEPTANCE already contain the max and min dates. The LET = ... statement is not necessary anymore as far as i would see it.&lt;/P&gt;&lt;P&gt;And i still have the question why qlikview suddenly stops working...if this keeps happening it's really exhausting to automate something via QVS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But anyway, thanks it works and i hope it doesn't do the same thing again&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 13:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calender-suddenly-not-working-anymore/m-p/1646955#M594178</guid>
      <dc:creator>Lukas_H</dc:creator>
      <dc:date>2019-11-14T13:27:06Z</dc:date>
    </item>
  </channel>
</rss>

