<?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: &amp;quot;All time high&amp;quot; KPI with value and date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/quot-All-time-high-quot-KPI-with-value-and-date/m-p/1863993#M71316</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Try using,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;=FirstSortedValue(timestamp,-Aggr(Count(DISTINCT event), day, month, year))&lt;/STRONG&gt; in KPI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AshutoshBhumkar_0-1637938192631.png" style="width: 238px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67496i127A8923250A073C/image-dimensions/238x57?v=v2" width="238" height="57" role="button" title="AshutoshBhumkar_0-1637938192631.png" alt="AshutoshBhumkar_0-1637938192631.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Ashutosh&lt;/P&gt;</description>
    <pubDate>Fri, 26 Nov 2021 14:50:57 GMT</pubDate>
    <dc:creator>AshutoshBhumkar</dc:creator>
    <dc:date>2021-11-26T14:50:57Z</dc:date>
    <item>
      <title>"All time high" KPI with value and date</title>
      <link>https://community.qlik.com/t5/App-Development/quot-All-time-high-quot-KPI-with-value-and-date/m-p/1863971#M71314</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have my data in the following format:&lt;/P&gt;
&lt;TABLE class="lia-align-left" style="width: 50%;" border="1" width="50%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="48.4px" height="24px"&gt;event&lt;/TD&gt;
&lt;TD width="40px" height="24px"&gt;day&lt;/TD&gt;
&lt;TD width="55.6833px" height="24px"&gt;month&lt;/TD&gt;
&lt;TD width="42.7167px" height="24px"&gt;year&lt;/TD&gt;
&lt;TD width="84.45px" height="24px"&gt;timestamp&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="48.4px" height="46px"&gt;1&lt;/TD&gt;
&lt;TD width="40px" height="46px"&gt;1&lt;/TD&gt;
&lt;TD width="55.6833px" height="46px"&gt;11&lt;/TD&gt;
&lt;TD width="42.7167px" height="46px"&gt;2021&lt;/TD&gt;
&lt;TD width="84.45px" height="46px"&gt;2021-11-01 10:25&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="48.4px" height="46px"&gt;2&lt;/TD&gt;
&lt;TD width="40px" height="46px"&gt;1&lt;/TD&gt;
&lt;TD width="55.6833px" height="46px"&gt;11&lt;/TD&gt;
&lt;TD width="42.7167px" height="46px"&gt;2021&lt;/TD&gt;
&lt;TD width="84.45px" height="46px"&gt;2021-11-01 14:38&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="48.4px" height="46px"&gt;3&lt;/TD&gt;
&lt;TD width="40px" height="46px"&gt;1&lt;/TD&gt;
&lt;TD width="55.6833px" height="46px"&gt;11&lt;/TD&gt;
&lt;TD width="42.7167px" height="46px"&gt;2021&lt;/TD&gt;
&lt;TD width="84.45px" height="46px"&gt;2021-11-01 18:32&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="48.4px" height="46px"&gt;4&lt;/TD&gt;
&lt;TD width="40px" height="46px"&gt;3&lt;/TD&gt;
&lt;TD width="55.6833px" height="46px"&gt;11&lt;/TD&gt;
&lt;TD width="42.7167px" height="46px"&gt;2021&lt;/TD&gt;
&lt;TD width="84.45px" height="46px"&gt;2021-11-03 15:12&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="48.4px" height="46px"&gt;5&lt;/TD&gt;
&lt;TD width="40px" height="46px"&gt;3&lt;/TD&gt;
&lt;TD width="55.6833px" height="46px"&gt;11&lt;/TD&gt;
&lt;TD width="42.7167px" height="46px"&gt;2021&lt;/TD&gt;
&lt;TD width="84.45px" height="46px"&gt;2021-11-03 19:28&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="48.4px" height="46px"&gt;6&lt;/TD&gt;
&lt;TD width="40px" height="46px"&gt;6&lt;/TD&gt;
&lt;TD width="55.6833px" height="46px"&gt;11&lt;/TD&gt;
&lt;TD width="42.7167px" height="46px"&gt;2021&lt;/TD&gt;
&lt;TD width="84.45px" height="46px"&gt;2021-11-06 06:08&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="48.4px" height="46px"&gt;7&lt;/TD&gt;
&lt;TD width="40px" height="46px"&gt;6&lt;/TD&gt;
&lt;TD width="55.6833px" height="46px"&gt;11&lt;/TD&gt;
&lt;TD width="42.7167px" height="46px"&gt;2021&lt;/TD&gt;
&lt;TD width="84.45px" height="46px"&gt;2021-11-06 03:22&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="48.4px" height="24px"&gt;8&lt;/TD&gt;
&lt;TD width="40px" height="24px"&gt;9&lt;/TD&gt;
&lt;TD width="55.6833px" height="24px"&gt;11&lt;/TD&gt;
&lt;TD width="42.7167px" height="24px"&gt;2021&lt;/TD&gt;
&lt;TD width="84.45px" height="24px"&gt;2021-11-09 18:10&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="48.4px" height="24px"&gt;9&lt;/TD&gt;
&lt;TD width="40px" height="24px"&gt;21&lt;/TD&gt;
&lt;TD width="55.6833px" height="24px"&gt;11&lt;/TD&gt;
&lt;TD width="42.7167px" height="24px"&gt;2021&lt;/TD&gt;
&lt;TD width="84.45px" height="24px"&gt;2021-11-21 14:46&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to show a a "Max events in one day" KPI together with the date of the (first) occurrence.&lt;/P&gt;
&lt;P&gt;I figured I can find the maximum number of events with the following formula:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=Max(Aggr(Count(DISTINCT event_Id), day, month, year))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, how do I find the date (as year &amp;amp; month &amp;amp; day) where the "all time high" was reached?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 13:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/quot-All-time-high-quot-KPI-with-value-and-date/m-p/1863971#M71314</guid>
      <dc:creator>danabb</dc:creator>
      <dc:date>2021-11-26T13:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: "All time high" KPI with value and date</title>
      <link>https://community.qlik.com/t5/App-Development/quot-All-time-high-quot-KPI-with-value-and-date/m-p/1863993#M71316</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Try using,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;=FirstSortedValue(timestamp,-Aggr(Count(DISTINCT event), day, month, year))&lt;/STRONG&gt; in KPI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AshutoshBhumkar_0-1637938192631.png" style="width: 238px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67496i127A8923250A073C/image-dimensions/238x57?v=v2" width="238" height="57" role="button" title="AshutoshBhumkar_0-1637938192631.png" alt="AshutoshBhumkar_0-1637938192631.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Ashutosh&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 14:50:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/quot-All-time-high-quot-KPI-with-value-and-date/m-p/1863993#M71316</guid>
      <dc:creator>AshutoshBhumkar</dc:creator>
      <dc:date>2021-11-26T14:50:57Z</dc:date>
    </item>
  </channel>
</rss>

