<?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: Max value in alternate state field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-value-in-alternate-state-field/m-p/732530#M537791</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shruthi, thanks for your answer. But I need to set it as a condition of the function. My function is sum (not max), but a condition of the sum function is that the year value is the maximum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try to explain better, this is my original function: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;Sum({&amp;lt;ID_ROLLING={$(=Max(ID_ROLLING))},YEAR={$(=Max(YEAR))}, MONTH_SHORT_NAME=[Group PL 1]::MONTH_SHORT_NAME&amp;gt;}VALUE)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the same function, but the condition of the maximum year must be for a specific alternate state, in this case : [Group PL 1] is the alternate state name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Oct 2014 12:21:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-30T12:21:06Z</dc:date>
    <item>
      <title>Max value in alternate state field</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-alternate-state-field/m-p/732528#M537789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the syntax to find the maximum value of a alternate state field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my original expression: &lt;EM&gt;Sum({&amp;lt;ID_ROLLING={$(=Max(ID_ROLLING))},YEAR=[Group PL 1]::YEAR, MONTH_SHORT_NAME=[Group PL 1]::MONTH_SHORT_NAME&amp;gt;}VALUE)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I just need those whose [Group PL 1]::year is the maximum value. Something like this wrong expression: Sum({&amp;lt;ID_ROLLING={$(=Max(ID_ROLLING))},YEAR=[Group PL 1]::max(YEAR), MONTH_SHORT_NAME=[Group PL 1]::MONTH_SHORT_NAME&amp;gt;}VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 12:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-alternate-state-field/m-p/732528#M537789</guid>
      <dc:creator />
      <dc:date>2014-10-30T12:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Max value in alternate state field</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-alternate-state-field/m-p/732529#M537790</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;Syntax is&lt;/P&gt;&lt;P&gt;Max({Platform1}(InputDate))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here Platform1 is the alternatestate name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 12:07:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-alternate-state-field/m-p/732529#M537790</guid>
      <dc:creator />
      <dc:date>2014-10-30T12:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Max value in alternate state field</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-alternate-state-field/m-p/732530#M537791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shruthi, thanks for your answer. But I need to set it as a condition of the function. My function is sum (not max), but a condition of the sum function is that the year value is the maximum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try to explain better, this is my original function: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;Sum({&amp;lt;ID_ROLLING={$(=Max(ID_ROLLING))},YEAR={$(=Max(YEAR))}, MONTH_SHORT_NAME=[Group PL 1]::MONTH_SHORT_NAME&amp;gt;}VALUE)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the same function, but the condition of the maximum year must be for a specific alternate state, in this case : [Group PL 1] is the alternate state name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 12:21:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-alternate-state-field/m-p/732530#M537791</guid>
      <dc:creator />
      <dc:date>2014-10-30T12:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Max value in alternate state field</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-alternate-state-field/m-p/732531#M537792</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;I hope this works.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;ID_ROLLING={$(=Max(ID_ROLLING))},YEAR={$(=Max({[Group PL 1]}YEAR))}, MONTH_SHORT_NAME=[Group PL 1]::MONTH_SHORT_NAME&amp;gt;}VALUE)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 13:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-alternate-state-field/m-p/732531#M537792</guid>
      <dc:creator />
      <dc:date>2014-10-30T13:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Max value in alternate state field</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-alternate-state-field/m-p/732532#M537793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much &lt;A href="https://community.qlik.com/qlik-users/88608"&gt;Shruthi Reddy&lt;/A&gt; it works!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 14:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-alternate-state-field/m-p/732532#M537793</guid>
      <dc:creator />
      <dc:date>2014-10-30T14:55:43Z</dc:date>
    </item>
  </channel>
</rss>

