<?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: How to restrict the date values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-restrict-the-date-values/m-p/1622284#M734368</link>
    <description>&lt;P&gt;You need to define both a min year and a max year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;only({&amp;lt;Year = {"&amp;gt;=$(=year(today()))&amp;lt;=$(=year(today()) + 5)"}&amp;gt;} Expiration)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You don't need the max() as you only have one value inside it, today().&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2019 18:33:00 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2019-09-10T18:33:00Z</dc:date>
    <item>
      <title>How to restrict the date values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-the-date-values/m-p/1622259#M734367</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;Can someone please help restrict my data value so that my bar chart doesn't display data before today's date?&amp;nbsp; I want to display all data from today's date until the next 5 years.&amp;nbsp; Shown below is the expression I have put into the script.&amp;nbsp; Do I need to modify it or put something into the dimension limits?&amp;nbsp; It works just fine however, it's displaying one location that has an expiration date of 9/14/17 (well before today's date)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;only({&amp;lt;Year = {"&amp;lt;=$(=max(year(today())) + 5)"}&amp;gt;} Expiration)&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:31:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-the-date-values/m-p/1622259#M734367</guid>
      <dc:creator>RealEstate2018</dc:creator>
      <dc:date>2024-11-16T02:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict the date values</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-the-date-values/m-p/1622284#M734368</link>
      <description>&lt;P&gt;You need to define both a min year and a max year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;only({&amp;lt;Year = {"&amp;gt;=$(=year(today()))&amp;lt;=$(=year(today()) + 5)"}&amp;gt;} Expiration)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You don't need the max() as you only have one value inside it, today().&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 18:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-the-date-values/m-p/1622284#M734368</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-09-10T18:33:00Z</dc:date>
    </item>
  </channel>
</rss>

