<?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 FirstSortedValue with Aggr in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-with-Aggr/m-p/47930#M458196</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;i have an aggr expresion which retrives Status dates,&lt;/P&gt;&lt;P&gt;=DATE(aggr(status_date,order),'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;i want to retrive the min date value&lt;/P&gt;&lt;P&gt;tried it with:&lt;/P&gt;&lt;P&gt;FirstSortedValue(&lt;SPAN style="font-size: 13.3333px;"&gt;status_date&lt;/SPAN&gt;, aggr(status_date,order))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;advanced thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2018 08:37:23 GMT</pubDate>
    <dc:creator>ilanbaruch</dc:creator>
    <dc:date>2018-05-03T08:37:23Z</dc:date>
    <item>
      <title>FirstSortedValue with Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-with-Aggr/m-p/47930#M458196</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;i have an aggr expresion which retrives Status dates,&lt;/P&gt;&lt;P&gt;=DATE(aggr(status_date,order),'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;i want to retrive the min date value&lt;/P&gt;&lt;P&gt;tried it with:&lt;/P&gt;&lt;P&gt;FirstSortedValue(&lt;SPAN style="font-size: 13.3333px;"&gt;status_date&lt;/SPAN&gt;, aggr(status_date,order))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;advanced thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 08:37:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-with-Aggr/m-p/47930#M458196</guid>
      <dc:creator>ilanbaruch</dc:creator>
      <dc:date>2018-05-03T08:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue with Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-with-Aggr/m-p/47931#M458197</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;would you be able to share with us more details on this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what you have so far and what is the expected output ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 08:43:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-with-Aggr/m-p/47931#M458197</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-05-03T08:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue with Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-with-Aggr/m-p/47932#M458198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 419px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="17" width="117"&gt;order&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-left: none;" width="98"&gt;date&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-left: none;" width="106"&gt;quantity&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-left: none;" width="98"&gt;Status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="17" style="border-top: none;"&gt;1-9660100&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-top: none; border-left: none;"&gt;22/04/2018&lt;BR /&gt; &lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-top: none; border-left: none;"&gt;75&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="17" style="border-top: none;"&gt;1-9660100&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-top: none; border-left: none;"&gt;23/04/2018&lt;BR /&gt; &lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-top: none; border-left: none;"&gt;75&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="17" style="border-top: none;"&gt;1-9660100&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-top: none; border-left: none;"&gt;24/04/2018&lt;BR /&gt; &lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-top: none; border-left: none;"&gt;75&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="17" style="border-top: none;"&gt;1-9660100&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-top: none; border-left: none;"&gt;25/04/2018&lt;BR /&gt; &lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-top: none; border-left: none;"&gt;75&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;i need to retrive only one row whith the min/max date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 08:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-with-Aggr/m-p/47932#M458198</guid>
      <dc:creator>ilanbaruch</dc:creator>
      <dc:date>2018-05-03T08:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue with Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-with-Aggr/m-p/47933#M458199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstSortedValue(order, -date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the "-" before the date to get the highest value (most recent date) or without it for the opposite (oldest date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 08:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-with-Aggr/m-p/47933#M458199</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2018-05-03T08:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue with Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-with-Aggr/m-p/47934#M458200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Straight table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: Order&lt;/P&gt;&lt;P&gt;Exp1: Date(Max(Date))&lt;/P&gt;&lt;P&gt;Exp2: FirstSortedValue(Quantity, -Date)&lt;/P&gt;&lt;P&gt;Exp3: &lt;SPAN style="font-size: 13.3333px;"&gt;FirstSortedValue(Status, -Date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Min you could adjust.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 08:58:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-with-Aggr/m-p/47934#M458200</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-05-03T08:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue with Aggr</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-with-Aggr/m-p/47935#M458201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the Quantity and&amp;nbsp; Status are always the same across all dates, then you can also use Only(Quantity) and Only(Status), but this might be only true in the sample, but just to throw out an option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 09:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-with-Aggr/m-p/47935#M458201</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-03T09:04:33Z</dc:date>
    </item>
  </channel>
</rss>

