<?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: Display the max date of a values given an indicator in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Display-the-max-date-of-a-values-given-an-indicator/m-p/1845060#M69922</link>
    <description>&lt;P&gt;&lt;SPAN&gt;= FirstSortedValue(DISTINCT [Dates.autoCalendar.YearMonth],-aggr(Max({&amp;lt;indicator={'QQ'}&amp;gt;}price),[Dates.autoCalendar.YearMonth]))&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Oct 2021 18:16:42 GMT</pubDate>
    <dc:creator>stevejoyce</dc:creator>
    <dc:date>2021-10-11T18:16:42Z</dc:date>
    <item>
      <title>Display the max date of a values given an indicator</title>
      <link>https://community.qlik.com/t5/App-Development/Display-the-max-date-of-a-values-given-an-indicator/m-p/1845043#M69921</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to display the max date for a given set of values filtered by an indicator:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I have so far:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;= FirstSortedValue(DISTINCT [Dates.autoCalendar.YearMonth],-price)&lt;/P&gt;&lt;P&gt;however, that is giving me the max date for all the values:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this:&lt;/P&gt;&lt;P&gt;= FirstSortedValue(DISTINCT [Dates.autoCalendar.YearMonth],-Max({&amp;lt;indicator={'QQ'}&amp;gt;}price))&lt;/P&gt;&lt;P&gt;but&amp;nbsp; I get the error " error in expression: nested aggregation not allowed"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can I do to fix it? I know I need to use AGGR() but I am getting a null value .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 16:39:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-the-max-date-of-a-values-given-an-indicator/m-p/1845043#M69921</guid>
      <dc:creator>aj_954</dc:creator>
      <dc:date>2021-10-11T16:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Display the max date of a values given an indicator</title>
      <link>https://community.qlik.com/t5/App-Development/Display-the-max-date-of-a-values-given-an-indicator/m-p/1845060#M69922</link>
      <description>&lt;P&gt;&lt;SPAN&gt;= FirstSortedValue(DISTINCT [Dates.autoCalendar.YearMonth],-aggr(Max({&amp;lt;indicator={'QQ'}&amp;gt;}price),[Dates.autoCalendar.YearMonth]))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 18:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-the-max-date-of-a-values-given-an-indicator/m-p/1845060#M69922</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-10-11T18:16:42Z</dc:date>
    </item>
  </channel>
</rss>

