<?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: chose values by max date according to 2 fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/chose-values-by-max-date-according-to-2-fields/m-p/862#M793347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its still returns both projects for each agreement even though it should return only 1 for each agreement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jan 2018 11:34:17 GMT</pubDate>
    <dc:creator>anatle1234</dc:creator>
    <dc:date>2018-01-15T11:34:17Z</dc:date>
    <item>
      <title>chose values by max date according to 2 fields</title>
      <link>https://community.qlik.com/t5/QlikView/chose-values-by-max-date-according-to-2-fields/m-p/858#M793343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this example:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="190085" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190085_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to create max approval column. for each agreement I need to put there approval with lastest date.&lt;/P&gt;&lt;P&gt;I need to do it in the script for my main table, to add this column for each agreement.&lt;/P&gt;&lt;P&gt;can you please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Anat&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/chose-values-by-max-date-according-to-2-fields/m-p/858#M793343</guid>
      <dc:creator>anatle1234</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: chose values by max date according to 2 fields</title>
      <link>https://community.qlik.com/t5/QlikView/chose-values-by-max-date-according-to-2-fields/m-p/859#M793344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Script / UI ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 11:13:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chose-values-by-max-date-according-to-2-fields/m-p/859#M793344</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-15T11:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: chose values by max date according to 2 fields</title>
      <link>https://community.qlik.com/t5/QlikView/chose-values-by-max-date-according-to-2-fields/m-p/860#M793345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;script only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 11:14:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chose-values-by-max-date-according-to-2-fields/m-p/860#M793345</guid>
      <dc:creator>anatle1234</dc:creator>
      <dc:date>2018-01-15T11:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: chose values by max date according to 2 fields</title>
      <link>https://community.qlik.com/t5/QlikView/chose-values-by-max-date-according-to-2-fields/m-p/861#M793346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not tested, But can u try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(agreement = Previous(agreement), approval,'') as [max approval]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load * from table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Final:&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 approval, agreement, date, If(agreement = Previous(agreement), approval,'') as [max approval] Resident Table Order By date desc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 11:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chose-values-by-max-date-according-to-2-fields/m-p/861#M793346</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-15T11:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: chose values by max date according to 2 fields</title>
      <link>https://community.qlik.com/t5/QlikView/chose-values-by-max-date-according-to-2-fields/m-p/862#M793347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its still returns both projects for each agreement even though it should return only 1 for each agreement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 11:34:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chose-values-by-max-date-according-to-2-fields/m-p/862#M793347</guid>
      <dc:creator>anatle1234</dc:creator>
      <dc:date>2018-01-15T11:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: chose values by max date according to 2 fields</title>
      <link>https://community.qlik.com/t5/QlikView/chose-values-by-max-date-according-to-2-fields/m-p/863#M793348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, Is it? Then this should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load * from table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Right Join (Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD agreement, Max(date) as date Resident Table Group By agreement;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load agreement,FirstSortedValue(approval, date) as [max approval] Resident Table Group By agreement;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 11:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/chose-values-by-max-date-according-to-2-fields/m-p/863#M793348</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-15T11:48:08Z</dc:date>
    </item>
  </channel>
</rss>

