<?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: firstsortedvalue value date descending number ascending in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/firstsortedvalue-value-date-descending-number-ascending/m-p/1593088#M443681</link>
    <description>&lt;P&gt;You can do length or rank of string....&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2019 13:22:19 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-06-18T13:22:19Z</dc:date>
    <item>
      <title>firstsortedvalue value date descending number ascending</title>
      <link>https://community.qlik.com/t5/QlikView/firstsortedvalue-value-date-descending-number-ascending/m-p/1593054#M443677</link>
      <description>&lt;P&gt;I have a table with for example an employeename, dates, and sales_per_customer&lt;/P&gt;&lt;P&gt;Now I want to find for every employee, the highest date and within that date the lowest sales_per_customer.&lt;/P&gt;&lt;P&gt;So I tried firstsortedvalue(employeename, -date, sales_per_customer) but apparently only one sort_weight is allowed ?&lt;/P&gt;&lt;P&gt;So is there another way to achieve this, without having to create a lot of temporary tables &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 12:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/firstsortedvalue-value-date-descending-number-ascending/m-p/1593054#M443677</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2019-06-18T12:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: firstsortedvalue value date descending number ascending</title>
      <link>https://community.qlik.com/t5/QlikView/firstsortedvalue-value-date-descending-number-ascending/m-p/1593056#M443678</link>
      <description>&lt;P&gt;May be this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FirstSortedValue(employeename, -date + (sales_per_customer/1E10))&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 18 Jun 2019 12:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/firstsortedvalue-value-date-descending-number-ascending/m-p/1593056#M443678</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-18T12:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: firstsortedvalue value date descending number ascending</title>
      <link>https://community.qlik.com/t5/QlikView/firstsortedvalue-value-date-descending-number-ascending/m-p/1593066#M443679</link>
      <description>&lt;P&gt;I made a simple example, in real life my second field is a string. Perhaps I can do something with the lenght of the string.&lt;/P&gt;&lt;P&gt;Thank you for giving a direction&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 12:51:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/firstsortedvalue-value-date-descending-number-ascending/m-p/1593066#M443679</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2019-06-18T12:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: firstsortedvalue value date descending number ascending</title>
      <link>https://community.qlik.com/t5/QlikView/firstsortedvalue-value-date-descending-number-ascending/m-p/1593088#M443681</link>
      <description>&lt;P&gt;You can do length or rank of string....&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 13:22:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/firstsortedvalue-value-date-descending-number-ascending/m-p/1593088#M443681</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-18T13:22:19Z</dc:date>
    </item>
  </channel>
</rss>

