<?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 Show only a few years in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780052#M533576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="years.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81675_years.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This are all the years from my data. Jaar is the Dutch word for year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is in my script:&lt;/P&gt;&lt;P&gt;&lt;/P&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; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;JAAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+2000) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;JAAR&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;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;My question is: Can I said in my data that I only want to see the max year, and 3 other. In this case: 2015, 2014, 2013 and 2012?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is this impossible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I ask something like this in another post, but this is an better one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Mar 2015 11:30:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-24T11:30:52Z</dc:date>
    <item>
      <title>Show only a few years</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780052#M533576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="years.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81675_years.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This are all the years from my data. Jaar is the Dutch word for year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is in my script:&lt;/P&gt;&lt;P&gt;&lt;/P&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; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;JAAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+2000) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;JAAR&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;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;My question is: Can I said in my data that I only want to see the max year, and 3 other. In this case: 2015, 2014, 2013 and 2012?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is this impossible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I ask something like this in another post, but this is an better one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 11:30:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780052#M533576</guid>
      <dc:creator />
      <dc:date>2015-03-24T11:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Show only a few years</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780053#M533577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Preceding Load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;Where JAAR &amp;gt;= '2012;'&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; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;JAAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+2000) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;JAAR&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;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 11:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780053#M533577</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2015-03-24T11:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Show only a few years</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780054#M533578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't want to load the data of earlier years you can use a where clause:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;STRONG style="font-style: inherit; font-size: 10.6666679382324px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;STRONG style="font-style: inherit; font-size: 10.6666679382324px; font-family: inherit;"&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&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;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;JAAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+2000) &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;as&lt;/SPAN&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;JAAR&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;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE JAAR &amp;gt;=12;&lt;/SPAN&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;BR /&gt;&lt;/SPAN&gt;If you do want to load the data, but want to filter it in the front end there are several ways. You could simply select the years you want to see. This is the easiest solution. You could create a bookmark for that selection so you can easily return to that selection. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 11:39:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780054#M533578</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-24T11:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Show only a few years</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780055#M533579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lieko&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could add a simple where condition on the load, or create something a bit more dynamic based on your data.&lt;/P&gt;&lt;P&gt;Something like the below should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MaxYear:&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; Distinct&lt;BR /&gt; Max((&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;JAAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+2000)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;JAAR&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;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Let vMaxYear =Peek('JAAR')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Drop table MaxYear;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&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; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;JAAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+2000) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;JAAR&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;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Where (&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;JAAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+2000)&amp;nbsp; &amp;gt; $(vMaxYear-3)&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 11:39:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780055#M533579</guid>
      <dc:creator />
      <dc:date>2015-03-24T11:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Show only a few years</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780056#M533580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi lieko,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write below code in you script editor while loading your data.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; color: #0000ff;"&gt;&lt;STRONG style="font-style: inherit; font-size: 10.6666679382324px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #0000ff; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;&lt;STRONG style="font-style: inherit; font-size: 10.6666679382324px; font-family: inherit;"&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;*&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;, &lt;BR /&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;JAAR&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;+2000) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;JAAR&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;FROM &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;\source (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;WHERE JAAR &amp;gt;='2012';&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt;"&gt;Priyanka&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 11:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780056#M533580</guid>
      <dc:creator />
      <dc:date>2015-03-24T11:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Show only a few years</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780057#M533581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year_start = year(yearstart(AddMonths(today(), -36))); //-36 means the number of years from now in months 12x3=36&lt;/P&gt;&lt;P&gt;Year_today = year(yearstart(AddMonths(today(), 0)));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jaar:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; Number,&lt;/P&gt;&lt;P&gt;&amp;nbsp; (Jaar+ 2000) as Jaar&lt;/P&gt;&lt;P&gt;FROM \source&lt;/P&gt;&lt;P&gt; where (Number + 2000)&amp;gt;='$(Year_start)' and (Number + 2000)&amp;lt;='$(Year_today)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 12:32:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780057#M533581</guid>
      <dc:creator>jsanchezh</dc:creator>
      <dc:date>2015-03-24T12:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Show only a few years</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780058#M533582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to just show Latest 4 years in your list box . &lt;/P&gt;&lt;P&gt;Then just create a variable &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Var1=max({1}&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;JAAR&lt;/SPAN&gt;)-4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then select list box and use expression in place of field name &lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81690_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;in expression write &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;JAAR&lt;/SPAN&gt;&amp;gt;=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Var1&lt;/SPAN&gt;,&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;JAAR&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will show you four latest year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not your requirement let me know .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;BKC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 13:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780058#M533582</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-24T13:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Show only a few years</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780059#M533583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks alll! The option of BKC is the easiest one for me. It was correct! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 13:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780059#M533583</guid>
      <dc:creator />
      <dc:date>2015-03-24T13:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Show only a few years</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780060#M533584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if I want&amp;nbsp; to show the years 2010, 2011, 2012, 2013?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than can I not use max year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 13:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-a-few-years/m-p/780060#M533584</guid>
      <dc:creator />
      <dc:date>2015-06-29T13:49:27Z</dc:date>
    </item>
  </channel>
</rss>

