<?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: Calculated Field : max date Y/N in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Field-max-date-Y-N/m-p/61870#M766433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for your help but it returns me an error :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" height="314" src="https://community.qlik.com/" style="max-width: 1200px; max-height: 900px; width: 320.826px; height: 314px;" width="321" /&gt;&lt;IMG alt="" class="jive-image image-2" height="161" src="https://community.qlik.com/" style="max-width: 1200px; max-height: 900px; height: 161.116px; width: 157px;" width="157" /&gt;&lt;/P&gt;&lt;P&gt;I saw that there is a function called firstsortedvalue() could it be used for this usecase (to generate a new calculated field in the script)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to you, community&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jun 2018 15:51:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-21T15:51:47Z</dc:date>
    <item>
      <title>Calculated Field : max date Y/N</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Field-max-date-Y-N/m-p/61868#M766429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started recently to use QlikView so I have some issues to adapt myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know how to create a field in the script which tell me if the line checked has the maximum date depending on a criterion.&lt;/P&gt;&lt;P&gt;I don't want a chart solution, my aim is to do a data treatment to extract an excel after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="360" style="width: 408px; height: 359px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" width="143"&gt;Assessment Name&lt;/TD&gt;&lt;TD width="88"&gt;Team&lt;/TD&gt;&lt;TD width="113"&gt;Date&lt;/TD&gt;&lt;TD width="124"&gt;MaxDate&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Paris420&lt;/TD&gt;&lt;TD&gt;HR&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left;"&gt;10/05/2018&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Paris420&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left;"&gt;10/05/2018&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Paris420&lt;/TD&gt;&lt;TD&gt;HR&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left;"&gt;06/03/2018&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Paris420&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left;"&gt;06/03/2018&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Singapore387&lt;/TD&gt;&lt;TD&gt;HR&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left;"&gt;06/09/2017&lt;/TD&gt;&lt;TD class="xl63"&gt;no&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Singapore387&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left;"&gt;06/09/2017&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Singapore387&lt;/TD&gt;&lt;TD&gt;HR&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left;"&gt;12/05/2018&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Singapore387&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left;"&gt;12/05/2018&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Singapore387&lt;/TD&gt;&lt;TD&gt;HR&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left;"&gt;06/03/2018&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Singapore387&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left;"&gt;06/03/2018&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;HK73&lt;/TD&gt;&lt;TD&gt;HR&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left;"&gt;15/04/2018&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;HK73&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left;"&gt;15/04/2018&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;HK73&lt;/TD&gt;&lt;TD&gt;HR&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left;"&gt;07/04/2018&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;HK73&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;TD align="right" class="xl63" style="text-align: left;"&gt;07/04/2018&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;The column MaxDate is what I'm expecting :&lt;/P&gt;&lt;P&gt;If the date is the maximum for an Assessment Name, it returns "Yes", else "no".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help ! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Field-max-date-Y-N/m-p/61868#M766429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Field : max date Y/N</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Field-max-date-Y-N/m-p/61869#M766431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Assessment Name],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Team,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM ...;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (Data)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Assessment Name],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Date) as Date',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Yes' as MaxDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Data;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalData:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;SPAN style="font-size: 10pt;"&gt;[Assessment Name],&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Team,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Len(Trim(MaxDate)) = 0, 'no', MaxDate) as MaxDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Data;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Data;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 14:51:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Field-max-date-Y-N/m-p/61869#M766431</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-21T14:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Field : max date Y/N</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Field-max-date-Y-N/m-p/61870#M766433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for your help but it returns me an error :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" height="314" src="https://community.qlik.com/" style="max-width: 1200px; max-height: 900px; width: 320.826px; height: 314px;" width="321" /&gt;&lt;IMG alt="" class="jive-image image-2" height="161" src="https://community.qlik.com/" style="max-width: 1200px; max-height: 900px; height: 161.116px; width: 157px;" width="157" /&gt;&lt;/P&gt;&lt;P&gt;I saw that there is a function called firstsortedvalue() could it be used for this usecase (to generate a new calculated field in the script)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to you, community&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 15:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Field-max-date-Y-N/m-p/61870#M766433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-21T15:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Field : max date Y/N</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Field-max-date-Y-N/m-p/61871#M766436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad, try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Data:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Assessment Name, Team, Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Paris420, HR, 10/05/2018&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Paris420, Sales, 10/05/2018&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Paris420, HR, 06/03/2018&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Paris420, Sales, 06/03/2018&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Singapore387, HR, 06/09/2017&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Singapore387, Sales, 06/09/2017&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Singapore387, HR, 12/05/2018&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Singapore387, Sales, 12/05/2018&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Singapore387, HR, 06/03/2018&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Singapore387, Sales, 06/03/2018&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HK73, HR, 15/04/2018&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HK73, Sales, 15/04/2018&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HK73, HR, 07/04/2018&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HK73, Sales, 07/04/2018&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Left Join (Data)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD [Assessment Name],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Date) as Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Yes' as MaxDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Resident Data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Group By [Assessment Name]&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;FinalData:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD [Assessment Name],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Team,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Len(Trim(MaxDate)) = 0, 'no', MaxDate) as MaxDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Resident Data;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;DROP Table Data;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/205914_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 17:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Field-max-date-Y-N/m-p/61871#M766436</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-21T17:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Field : max date Y/N</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Field-max-date-Y-N/m-p/61872#M766438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, it is well working !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 09:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Field-max-date-Y-N/m-p/61872#M766438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-22T09:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Field : max date Y/N</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Field-max-date-Y-N/m-p/2059033#M1223233</link>
      <description>&lt;P&gt;Thanks Sunny for the idea. It's also worked for me. I just put my example here. It might be useful for someone else&lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TM_A:&lt;BR /&gt;QUALIFY *;&lt;BR /&gt;UNQUALIFY ApplicationId,[GroupId],ApplicationDateMin;&lt;/P&gt;
&lt;P&gt;LOAD *&lt;/P&gt;
&lt;P&gt;FROM table A;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Left join(TM_A)&lt;/P&gt;
&lt;P&gt;Load &lt;BR /&gt;GroupId,&lt;/P&gt;
&lt;P&gt;if(Len(Trim(GroupId))&amp;gt;0, Min(Date(TM_REQ.ApplicationDate, 'DD/MM/YYYY'))) as ApplicationDateMin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Resident TM_A&lt;BR /&gt;group by GroupId;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FinalData:&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;/P&gt;
&lt;P&gt;LOAD GroupId,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;if(Len(Trim(GroupId))=0, Date(TM_REQ.ApplicationDateNew, 'DD/MM/YYYY'),ApplicationDateMin) as Application_CalendarDate&lt;/P&gt;
&lt;P&gt;Resident TM_A;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Panos&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 09:44:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Field-max-date-Y-N/m-p/2059033#M1223233</guid>
      <dc:creator>panosalexand</dc:creator>
      <dc:date>2023-04-11T09:44:19Z</dc:date>
    </item>
  </channel>
</rss>

