<?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: Error : year field not found in Load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-year-field-not-found-in-Load-script/m-p/1155309#M893550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should calculate first the max year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Year) as m&lt;/P&gt;&lt;P&gt;Resident yourtable;&lt;/P&gt;&lt;P&gt;LET M=Peek('m');&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(WeekEnd(CanonicalDate), 'MM-DD-YY')&amp;nbsp; as Weekend_Group_Year&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RESIDENT DateBridge WHERE Date(CanonicalDate, 'YYYY') =&amp;nbsp; $(M);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Aug 2016 12:03:28 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2016-08-09T12:03:28Z</dc:date>
    <item>
      <title>Error : year field not found in Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-year-field-not-found-in-Load-script/m-p/1155307#M893548</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 am trying to execute/Load below code in script but it gives me 'year field not found'&amp;nbsp; error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From below code i am trying to get previous year &lt;SPAN style="font-size: 13.3333px;"&gt;Weekend_Group_Year.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(WeekEnd(CanonicalDate), 'MM-DD-YY')&amp;nbsp; as Weekend_Group_Year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RESIDENT DateBridge WHERE Date(CanonicalDate, 'YYYY') =&amp;nbsp; $(= max(Year-1));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is this giving me this error, if&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;year&amp;nbsp; is a function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-year-field-not-found-in-Load-script/m-p/1155307#M893548</guid>
      <dc:creator>berryandcherry6</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error : year field not found in Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-year-field-not-found-in-Load-script/m-p/1155308#M893549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is ur date format? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 12:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-year-field-not-found-in-Load-script/m-p/1155308#M893549</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-08-09T12:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error : year field not found in Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-year-field-not-found-in-Load-script/m-p/1155309#M893550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should calculate first the max year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Year) as m&lt;/P&gt;&lt;P&gt;Resident yourtable;&lt;/P&gt;&lt;P&gt;LET M=Peek('m');&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(WeekEnd(CanonicalDate), 'MM-DD-YY')&amp;nbsp; as Weekend_Group_Year&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RESIDENT DateBridge WHERE Date(CanonicalDate, 'YYYY') =&amp;nbsp; $(M);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 12:03:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-year-field-not-found-in-Load-script/m-p/1155309#M893550</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-08-09T12:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error : year field not found in Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-year-field-not-found-in-Load-script/m-p/1155310#M893551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; has the field &lt;SPAN style="color: #ff0000;"&gt; 'Year'&lt;/SPAN&gt;&amp;nbsp; found in the table&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; DateBridge&amp;nbsp; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise you have to try like this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(WeekEnd(CanonicalDate), 'MM-DD-YY')&amp;nbsp; as Weekend_Group_Year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RESIDENT DateBridge&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE Date(CanonicalDate, 'YYYY') =&amp;nbsp; $&lt;SPAN style="color: #3366ff;"&gt;(= max(Year((CanonicalDate))-1));&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 12:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-year-field-not-found-in-Load-script/m-p/1155310#M893551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-09T12:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error : year field not found in Load script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-year-field-not-found-in-Load-script/m-p/1155311#M893552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes year is found in datebridge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 12:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-year-field-not-found-in-Load-script/m-p/1155311#M893552</guid>
      <dc:creator>berryandcherry6</dc:creator>
      <dc:date>2016-08-09T12:21:11Z</dc:date>
    </item>
  </channel>
</rss>

