<?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: Creating a max year and min year variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-max-year-and-min-year-variables/m-p/500859#M1144147</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;To select the maximum and minimum value from datefield you can use as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMaxYear=Max(Year(DateFiled));&lt;/P&gt;&lt;P&gt;vMinYear=Min(Year(DateFiled));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you want to select the trend year dynamically&amp;nbsp; then use the input box to assign the values to the variables and use that variables to your expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Sep 2013 05:37:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-10T05:37:30Z</dc:date>
    <item>
      <title>Creating a max year and min year variables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-max-year-and-min-year-variables/m-p/500856#M1144144</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 want to create 2 fields ie max year and minimum year from the loaded data i.e Year. I have the data from 2000 to 2012. I should be able to select the min and the max years from them. Can anyone suggest a way to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 05:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-max-year-and-min-year-variables/m-p/500856#M1144144</guid>
      <dc:creator />
      <dc:date>2013-09-10T05:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a max year and min year variables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-max-year-and-min-year-variables/m-p/500857#M1144145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not very clear to me what you want. If you want a variable to display the max Year use, Max(Year), if you want a maximum date from the selected year, use Max(Date). Similarly, use Min() for minimums.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 05:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-max-year-and-min-year-variables/m-p/500857#M1144145</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-10T05:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a max year and min year variables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-max-year-and-min-year-variables/m-p/500858#M1144146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks for the reply tresesco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me rephrase my question - i have a field called year. I want to create 2 more fields say Year1 and Year2. I need this to study the trend between two given period. For eg - if want to see the trend between 2009 and 2011. i should be able to select 2009 as Year 1 and 2011 as Year 2. As of now i am not able to make such selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this clarifies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks - Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 05:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-max-year-and-min-year-variables/m-p/500858#M1144146</guid>
      <dc:creator />
      <dc:date>2013-09-10T05:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a max year and min year variables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-max-year-and-min-year-variables/m-p/500859#M1144147</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;To select the maximum and minimum value from datefield you can use as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMaxYear=Max(Year(DateFiled));&lt;/P&gt;&lt;P&gt;vMinYear=Min(Year(DateFiled));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you want to select the trend year dynamically&amp;nbsp; then use the input box to assign the values to the variables and use that variables to your expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 05:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-max-year-and-min-year-variables/m-p/500859#M1144147</guid>
      <dc:creator />
      <dc:date>2013-09-10T05:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a max year and min year variables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-max-year-and-min-year-variables/m-p/500860#M1144148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Anirban,&lt;/P&gt;&lt;P&gt;If you are trying to select a range, you might want to have a look &lt;A _jive_internal="true" href="https://community.qlik.com/message/288110#288110"&gt;here&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . The attachment would be helpful i believe. You might want to use a concept of FROM-TO selection for date or year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 05:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-max-year-and-min-year-variables/m-p/500860#M1144148</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-10T05:43:21Z</dc:date>
    </item>
  </channel>
</rss>

