<?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: Get name of the key with max date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095397#M89744</link>
    <description>&lt;P&gt;This can be one way.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Dimensions&lt;/STRONG&gt;: Key &amp;amp; Date&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Measure&lt;/STRONG&gt;: Aggr(FirstSortedValue(Name,-Date), Key)&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jul 2023 18:01:10 GMT</pubDate>
    <dc:creator>BrunPierre</dc:creator>
    <dc:date>2023-07-19T18:01:10Z</dc:date>
    <item>
      <title>Get name of the key with max date</title>
      <link>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095393#M89743</link>
      <description>&lt;P&gt;Required is the Name of the key with Max date&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_20230719_224958.jpg" style="width: 4608px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/112607i222E07A70F6804C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_20230719_224958.jpg" alt="IMG_20230719_224958.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;th Max dat&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 17:36:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095393#M89743</guid>
      <dc:creator>Imbue20</dc:creator>
      <dc:date>2023-07-19T17:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get name of the key with max date</title>
      <link>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095397#M89744</link>
      <description>&lt;P&gt;This can be one way.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Dimensions&lt;/STRONG&gt;: Key &amp;amp; Date&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Measure&lt;/STRONG&gt;: Aggr(FirstSortedValue(Name,-Date), Key)&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 18:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095397#M89744</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-07-19T18:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Get name of the key with max date</title>
      <link>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095485#M89750</link>
      <description>&lt;P&gt;Thanks Brun ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But this didn't solve my query, if I tried this&lt;/P&gt;
&lt;P&gt;Firstsortedvalue(Name,-aggr(Date,Key))&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting name whose key is having only 1 record, but if there are 2-3 records for that key am not getting any value.&lt;/P&gt;
&lt;P&gt;&lt;I&gt;REGARDS.&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 02:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095485#M89750</guid>
      <dc:creator>Imbue20</dc:creator>
      <dc:date>2023-07-20T02:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Get name of the key with max date</title>
      <link>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095507#M89751</link>
      <description>&lt;P&gt;where do you want this?? in front end or back end??&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 05:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095507#M89751</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2023-07-20T05:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Get name of the key with max date</title>
      <link>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095509#M89752</link>
      <description>&lt;P&gt;try this code&lt;/P&gt;
&lt;DIV&gt;Test:&lt;/DIV&gt;
&lt;DIV&gt;Load *, Key&amp;amp;'_'&amp;amp;new_Date as max_key_date;&lt;/DIV&gt;
&lt;DIV&gt;Load Name,Key,Date(Date#(Date,'DD/MM/YYYY')) as new_Date inline [&lt;/DIV&gt;
&lt;DIV&gt;Name, Key, Date&lt;/DIV&gt;
&lt;DIV&gt;SK153, AKU_KK, 7/11/2023&lt;/DIV&gt;
&lt;DIV&gt;SK150, AKU_KK, 7/4/2023&lt;/DIV&gt;
&lt;DIV&gt;SK981, AKU_KK, 3/7/2023&lt;/DIV&gt;
&lt;DIV&gt;SK154, AKU_KU, 7/4/2023&lt;/DIV&gt;
&lt;DIV&gt;SK982, AKU_KU, 3/7/2023&lt;/DIV&gt;
&lt;DIV&gt;];&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;NoConcatenate&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;max_key_date:&lt;/DIV&gt;
&lt;DIV&gt;Load Key&amp;amp;'_'&amp;amp;Date(max_date) as max_key_date;&lt;/DIV&gt;
&lt;DIV&gt;Load Key,&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; max(new_Date) as max_date&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;Resident Test&lt;/DIV&gt;
&lt;DIV&gt;Group by Key;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Left Join&lt;/DIV&gt;
&lt;DIV&gt;Final:&lt;/DIV&gt;
&lt;DIV&gt;Load Name, max_key_date Resident Test&lt;/DIV&gt;
&lt;DIV&gt;;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;drop table Test;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Jul 2023 05:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095509#M89752</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2023-07-20T05:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Get name of the key with max date</title>
      <link>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095516#M89753</link>
      <description>&lt;P&gt;Hi Prashant,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need it back end&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 05:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095516#M89753</guid>
      <dc:creator>Imbue20</dc:creator>
      <dc:date>2023-07-20T05:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get name of the key with max date</title>
      <link>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095517#M89754</link>
      <description>&lt;P&gt;Can you help me to achieve this&amp;nbsp; in front end ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 05:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095517#M89754</guid>
      <dc:creator>Imbue20</dc:creator>
      <dc:date>2023-07-20T05:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Get name of the key with max date</title>
      <link>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095531#M89755</link>
      <description>&lt;P&gt;in back end. Logic which I provided in my earlier reply will work.&lt;/P&gt;
&lt;P&gt;For Front end what you want to do? From earlier logic remove Left join part and use that max_key_date table for flagging and use that flag in front end&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 06:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095531#M89755</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2023-07-20T06:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get name of the key with max date</title>
      <link>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095544#M89756</link>
      <description>&lt;P&gt;I want to make these Names as default selection with i open the sheet in front end.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 06:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-name-of-the-key-with-max-date/m-p/2095544#M89756</guid>
      <dc:creator>Imbue20</dc:creator>
      <dc:date>2023-07-20T06:49:26Z</dc:date>
    </item>
  </channel>
</rss>

