<?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: Years in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Years/m-p/772196#M471269</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would do it in the load script using a suitable WHERE when loading the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Mar 2015 15:23:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-23T15:23:04Z</dc:date>
    <item>
      <title>Years</title>
      <link>https://community.qlik.com/t5/QlikView/Years/m-p/772195#M471268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have data with many years, but I only want to see the max year and max year - 1, max year - 2, max year - 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I make this in my script or on another place?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Years/m-p/772195#M471268</guid>
      <dc:creator />
      <dc:date>2015-03-23T15:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Years</title>
      <link>https://community.qlik.com/t5/QlikView/Years/m-p/772196#M471269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would do it in the load script using a suitable WHERE when loading the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:23:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Years/m-p/772196#M471269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-23T15:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Years</title>
      <link>https://community.qlik.com/t5/QlikView/Years/m-p/772197#M471270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can do in both the ways,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in ur script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where yeardatefield&amp;gt;=(max(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;yeardatefield&lt;/SPAN&gt;) -3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Years/m-p/772197#M471270</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-03-23T15:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Years</title>
      <link>https://community.qlik.com/t5/QlikView/Years/m-p/772198#M471271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can restrict it within the script by creating a variable vMaxYear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD fieldNames,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM yourSource;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MaxYear:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Max(Year) as maxYear&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Data;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET vMaxYear = Peek('maxYear');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DataTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Year &amp;gt;= ($(vMaxYear) - 3);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP TABLES Data, MaxYear;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Years/m-p/772198#M471271</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-23T15:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Years</title>
      <link>https://community.qlik.com/t5/QlikView/Years/m-p/772199#M471272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I now I don't want this, but in my data I have the years 2026,2088 can I exclude them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Years/m-p/772199#M471272</guid>
      <dc:creator />
      <dc:date>2015-03-23T15:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Years</title>
      <link>https://community.qlik.com/t5/QlikView/Years/m-p/772200#M471273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You can do this to exclude anything after the year 2026&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; line-height: 1.5em; font-style: inherit;"&gt;&lt;STRONG&gt;Where Year &amp;lt; 2026;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; line-height: 1.5em; font-style: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or you can exclude anything from next year forward:&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;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Where Year &amp;lt;= Year(Today());&lt;/STRONG&gt;&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;HTH&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;Best,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:44:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Years/m-p/772200#M471273</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-23T15:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Years</title>
      <link>https://community.qlik.com/t5/QlikView/Years/m-p/772201#M471274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oke and this : &lt;SPAN style="line-height: 1.5em; font-family: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;Where Year &amp;lt; 2026; &lt;/STRONG&gt;must I copy past in my script? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Years/m-p/772201#M471274</guid>
      <dc:creator />
      <dc:date>2015-03-23T15:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Years</title>
      <link>https://community.qlik.com/t5/QlikView/Years/m-p/772202#M471275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Number&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; Source&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Or must i copy past it behind Year?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:53:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Years/m-p/772202#M471275</guid>
      <dc:creator />
      <dc:date>2015-03-23T15:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Years</title>
      <link>https://community.qlik.com/t5/QlikView/Years/m-p/772203#M471276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ya i would paste it after the FROM/Resident statement in the table from which you want to exclude Year 2026 and beyond.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Years/m-p/772203#M471276</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-23T15:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Years</title>
      <link>https://community.qlik.com/t5/QlikView/Years/m-p/772204#M471277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Number&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;FROM &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Source&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Where Year &amp;lt; 2026;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Years/m-p/772204#M471277</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-23T15:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Years</title>
      <link>https://community.qlik.com/t5/QlikView/Years/m-p/772205#M471278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, I understand!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I am not a QV pro &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Years/m-p/772205#M471278</guid>
      <dc:creator />
      <dc:date>2015-03-23T15:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Years</title>
      <link>https://community.qlik.com/t5/QlikView/Years/m-p/772206#M471279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a problem. I am glad I was able to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Years/m-p/772206#M471279</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-23T15:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Years</title>
      <link>https://community.qlik.com/t5/QlikView/Years/m-p/772207#M471280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 07:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Years/m-p/772207#M471280</guid>
      <dc:creator />
      <dc:date>2015-03-24T07:54:50Z</dc:date>
    </item>
  </channel>
</rss>

