<?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: How to retrieve max date based on the last value of another field in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952382#M78521</link>
    <description>&lt;P&gt;Same as in search, any value of any length. Here's a resource that details these options and more:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Qlik-Sense-Cheat-Sheet-version-2-0/ba-p/1667455" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Qlik-Sense-Cheat-Sheet-version-2-0/ba-p/1667455&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 13:00:06 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2022-07-06T13:00:06Z</dc:date>
    <item>
      <title>How to retrieve max date based on the last value of another field</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952179#M78500</link>
      <description>&lt;P&gt;Hello community. I have searched in the portal but did not found any answer. I hope you can help me with this!&lt;/P&gt;
&lt;P&gt;I have a table with dates in ascending order and want to retrieve the maximal (aka. last) date of the last value of another field. This other field is named "Umsatz_Ist_Netto_EUR".&lt;/P&gt;
&lt;P&gt;In my uploaded example, I have to be able to retrieve 2022-06-09, which is the maximal date based on the last value of the field "Umsatz_Ist_Netto_EUR". Trying with FirstSortedValue does not work for me, or I am using it wrong...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would love I you can help me with this please.&lt;/P&gt;
&lt;P&gt;Thank you very much in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 07:56:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952179#M78500</guid>
      <dc:creator>juanjaramillo1</dc:creator>
      <dc:date>2022-07-06T07:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve max date based on the last value of another field</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952261#M78506</link>
      <description>&lt;P&gt;So, what you're looking for is the last date that has a EUR value associated with it?&lt;/P&gt;
&lt;P&gt;Date(Max({&amp;lt; Umsatz_Ist_Netto_EUR = {"*"}&amp;nbsp; &amp;gt;} Datum))&lt;/P&gt;
&lt;P&gt;Note that if the date is actually a string rather than a proper date, you'll&amp;nbsp; need to use MaxString() and Date#() instead.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 09:34:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952261#M78506</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-07-06T09:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve max date based on the last value of another field</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952346#M78514</link>
      <description>&lt;P&gt;Thank you for the answer! Sadly I receive 2022-12-31, which is the last date of the table. What I want to achieve is to retrieve the last date that has values of the field "&lt;SPAN&gt;Umsatz_Ist_Netto_EUR" associated with it, in this case, the date output has to be&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;2022-06-09, as in the example.&amp;nbsp;Maybe the output gives&amp;nbsp; 2022-12-31&amp;nbsp;because the date&amp;nbsp;field is associated with the "...EUR" field even when in that field I do not have any value, therefore it is associated till the end of the date field ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;One pic shows my result.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Second pic shows the end of the table. Maybe that helps to help me. Thank you very much!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 12:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952346#M78514</guid>
      <dc:creator>juanjaramillo1</dc:creator>
      <dc:date>2022-07-06T12:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve max date based on the last value of another field</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952351#M78515</link>
      <description>&lt;P&gt;If that EUR field is blank (or whitespace) rather than null, this won't work. I can't tell whether this is the case from your image. I can confirm that the logic does work when the missing values are null, since I tested it locally before posting. If your values are actually a blank, you could try:&lt;/P&gt;
&lt;P&gt;{&amp;lt; Field2 -= {""} &amp;gt;} instead of the ={"*"} version. {&amp;lt; Field2 = {"?*"} &amp;gt;} Should also work for this use case, I think. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 12:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952351#M78515</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-07-06T12:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve max date based on the last value of another field</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952377#M78517</link>
      <description>&lt;P&gt;Hi Or,&lt;/P&gt;
&lt;P&gt;that worked! I was trying to accomplish that for weeks!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This worked out well: &amp;nbsp;Date(Max({&amp;lt; Umsatz_Ist_Netto_EUR = {"?*"} &amp;gt;} Datum))&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 12:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952377#M78517</guid>
      <dc:creator>juanjaramillo1</dc:creator>
      <dc:date>2022-07-06T12:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve max date based on the last value of another field</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952379#M78518</link>
      <description>&lt;P&gt;Sure thing. That that says is that the Umsatz_Ist_Netto_EUR must contain any value that is at least one character long ('?' designates a single character).&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 12:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952379#M78518</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-07-06T12:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve max date based on the last value of another field</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952380#M78519</link>
      <description>&lt;P&gt;Nice, thank you for the tip! And what says (*) ?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 12:55:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952380#M78519</guid>
      <dc:creator>juanjaramillo1</dc:creator>
      <dc:date>2022-07-06T12:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve max date based on the last value of another field</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952382#M78521</link>
      <description>&lt;P&gt;Same as in search, any value of any length. Here's a resource that details these options and more:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Qlik-Sense-Cheat-Sheet-version-2-0/ba-p/1667455" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Qlik-Sense-Cheat-Sheet-version-2-0/ba-p/1667455&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 13:00:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-retrieve-max-date-based-on-the-last-value-of-another/m-p/1952382#M78521</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-07-06T13:00:06Z</dc:date>
    </item>
  </channel>
</rss>

