<?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: Please help me to form this set expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Please-help-me-to-form-this-set-expression/m-p/514524#M483565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishnu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure you try this yet =Only({$&amp;lt;gift_date = {$(=Max(gift_date))}&amp;gt;} gift_type)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jun 2013 07:00:17 GMT</pubDate>
    <dc:creator>Sokkorn</dc:creator>
    <dc:date>2013-06-27T07:00:17Z</dc:date>
    <item>
      <title>Please help me to form this set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-to-form-this-set-expression/m-p/514523#M483564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a qlikview internal table that contains information like student_id, gift_id, gift_date, gift_type etc.&lt;/P&gt;&lt;P&gt;In a straight table, i need to display against each student_id, the latest gift_date, its corresponding gift_id, gift_type etc.&lt;/P&gt;&lt;P&gt;The latest gift_date of course can be found using max(gift_date). But for its corresponding gift type, what i tried was something like &lt;/P&gt;&lt;P&gt;=if(gift_date=max(gift_date),gift_id) .. and this seems logically wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help me with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishnu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 06:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-to-form-this-set-expression/m-p/514523#M483564</guid>
      <dc:creator>vishnus85</dc:creator>
      <dc:date>2013-06-27T06:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Please help me to form this set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-to-form-this-set-expression/m-p/514524#M483565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishnu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure you try this yet =Only({$&amp;lt;gift_date = {$(=Max(gift_date))}&amp;gt;} gift_type)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 07:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-to-form-this-set-expression/m-p/514524#M483565</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2013-06-27T07:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Please help me to form this set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-to-form-this-set-expression/m-p/514525#M483566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try FirstSortedValue() function like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;firstsortedvalue(gift_id, - gift_date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 07:01:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-to-form-this-set-expression/m-p/514525#M483566</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-06-27T07:01:14Z</dc:date>
    </item>
  </channel>
</rss>

