<?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: First Sorted Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value/m-p/721549#M476026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both expressions don't seem correct to me. Could you check that there is no copy &amp;amp; paste issue here?&lt;/P&gt;&lt;P&gt;And if possible, please post a small sample app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jun 2014 19:10:14 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2014-06-20T19:10:14Z</dc:date>
    <item>
      <title>First Sorted Value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value/m-p/721548#M476025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to determine whether or not a vendor is Import or Domestic using the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIRSTSORTEDVALUE ([PO Imp Dom], – aggr(max([PO Entry Date], [Vendor # (PO)]))).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know if it is import or domestic based on the date of the last PO from the vendor. However, this expression does not work for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max([PO Entry Date], [Vendor # (PO)])&amp;nbsp;&amp;nbsp; - This expression gives me the correct date of the last PO. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isabel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 18:39:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-Value/m-p/721548#M476025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-20T18:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted Value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value/m-p/721549#M476026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both expressions don't seem correct to me. Could you check that there is no copy &amp;amp; paste issue here?&lt;/P&gt;&lt;P&gt;And if possible, please post a small sample app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 19:10:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-Value/m-p/721549#M476026</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-06-20T19:10:14Z</dc:date>
    </item>
  </channel>
</rss>

