<?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: Issue in Max function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-in-Max-function/m-p/89014#M767797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Now I will able to use max(Year) function at the right place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jun 2018 05:48:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-29T05:48:59Z</dc:date>
    <item>
      <title>Issue in Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-Max-function/m-p/89012#M767795</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;I want to create a chart in which I have to show the data for the last four years. So for this action, I have used an expression for it like this:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year={'&amp;gt;=$(=max(Year)-3)&amp;lt;=$(=GetFieldSelections(Year))'}, Day= &amp;gt;} AMOUNT)&lt;/P&gt;&lt;P&gt;It works correctly. But I want to know one thing that the max(Year) function values always remain same or it changes with the change in the &lt;SPAN style="font-size: 13.3333px;"&gt;GetFieldSelections(Year) value. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;In Year field, values are 2014 to 2018. So the value of &lt;SPAN style="font-size: 13.3333px;"&gt;max(Year) function will always 2018 or it will change with &lt;SPAN style="font-size: 13.3333px;"&gt;GetFieldSelections(Year) value.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;P&gt;(Qlikview Learner &amp;amp; Developer)&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/Issue-in-Max-function/m-p/89012#M767795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-Max-function/m-p/89013#M767796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max() function will change based on selection in Year field... if you select 2012, max(Year) will be 2012... unless you use set analysis to ignore selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 16:26:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-Max-function/m-p/89013#M767796</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-28T16:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-Max-function/m-p/89014#M767797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Now I will able to use max(Year) function at the right place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2018 05:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-Max-function/m-p/89014#M767797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-29T05:48:59Z</dc:date>
    </item>
  </channel>
</rss>

