<?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 Always select the latest date (max) for multiple date fields in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Always-select-the-latest-date-max-for-multiple-date-fields/m-p/2057045#M86804</link>
    <description>&lt;P&gt;Hi Qlik Guru's,&lt;/P&gt;
&lt;P&gt;I am facing a very interesting problem that I am trying to make work.&lt;/P&gt;
&lt;P&gt;The app I'm building out is a proof of concept based on a table.&lt;/P&gt;
&lt;P&gt;[Philosophy_Text]:&lt;BR /&gt;phi_id,&lt;BR /&gt;phi_category,&lt;BR /&gt;phi_comment,&lt;BR /&gt;phi_date&lt;/P&gt;
&lt;P&gt;from [lib://....]&lt;BR /&gt;where match(text_category, 'Philosophy');&lt;/P&gt;
&lt;P&gt;The output should always return the [phi_comment] based on the latest [phi_date]. I have that working by using the firstsortedvalue function.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The problem: I'd like to always have the latest date selected when a user enters the app. That way, the user will always see the last comment, where the category is Philosphy, based on the latest date (sorted descending).&lt;/P&gt;
&lt;P&gt;Tried to follow along this forum (&lt;A href="https://community.qlik.com/t5/App-Development/Default-Selection-of-Max-Date/td-p/1662555" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/App-Development/Default-Selection-of-Max-Date/td-p/1662555&lt;/A&gt;) but was having trouble entering that formula.&lt;/P&gt;
&lt;P&gt;Thank all!&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2023 16:52:15 GMT</pubDate>
    <dc:creator>droonu194</dc:creator>
    <dc:date>2023-04-04T16:52:15Z</dc:date>
    <item>
      <title>Always select the latest date (max) for multiple date fields</title>
      <link>https://community.qlik.com/t5/App-Development/Always-select-the-latest-date-max-for-multiple-date-fields/m-p/2057045#M86804</link>
      <description>&lt;P&gt;Hi Qlik Guru's,&lt;/P&gt;
&lt;P&gt;I am facing a very interesting problem that I am trying to make work.&lt;/P&gt;
&lt;P&gt;The app I'm building out is a proof of concept based on a table.&lt;/P&gt;
&lt;P&gt;[Philosophy_Text]:&lt;BR /&gt;phi_id,&lt;BR /&gt;phi_category,&lt;BR /&gt;phi_comment,&lt;BR /&gt;phi_date&lt;/P&gt;
&lt;P&gt;from [lib://....]&lt;BR /&gt;where match(text_category, 'Philosophy');&lt;/P&gt;
&lt;P&gt;The output should always return the [phi_comment] based on the latest [phi_date]. I have that working by using the firstsortedvalue function.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The problem: I'd like to always have the latest date selected when a user enters the app. That way, the user will always see the last comment, where the category is Philosphy, based on the latest date (sorted descending).&lt;/P&gt;
&lt;P&gt;Tried to follow along this forum (&lt;A href="https://community.qlik.com/t5/App-Development/Default-Selection-of-Max-Date/td-p/1662555" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/App-Development/Default-Selection-of-Max-Date/td-p/1662555&lt;/A&gt;) but was having trouble entering that formula.&lt;/P&gt;
&lt;P&gt;Thank all!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 16:52:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Always-select-the-latest-date-max-for-multiple-date-fields/m-p/2057045#M86804</guid>
      <dc:creator>droonu194</dc:creator>
      <dc:date>2023-04-04T16:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Always select the latest date (max) for multiple date fields</title>
      <link>https://community.qlik.com/t5/App-Development/Always-select-the-latest-date-max-for-multiple-date-fields/m-p/2057221#M86811</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You need to use a bookmark applied by default. On the filter "phi_date" tape this formula&amp;nbsp; : =max(phi_date) and save it in the bookmarks. Before saving the bookmark check the summary of the selections saved. You should see the formula you taped before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 06:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Always-select-the-latest-date-max-for-multiple-date-fields/m-p/2057221#M86811</guid>
      <dc:creator>Sabrina_V</dc:creator>
      <dc:date>2023-04-05T06:41:39Z</dc:date>
    </item>
  </channel>
</rss>

