<?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 Why to give negative value in FirstSortedValue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-to-give-negative-value-in-FirstSortedValue/m-p/815316#M1020823</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;Why to give negative sign for &lt;SPAN style="font-size: 13.3333330154419px;"&gt;HIREDATE&lt;/SPAN&gt; in FirstSortedValue function.&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1427683279242415" jivemacro_uid="_1427683279242415"&gt;
&lt;P&gt;Expression: FirstSortedValue(SAL, -HIREDATE)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2015 02:41:31 GMT</pubDate>
    <dc:creator>qlikviewwizard</dc:creator>
    <dc:date>2015-03-30T02:41:31Z</dc:date>
    <item>
      <title>Why to give negative value in FirstSortedValue</title>
      <link>https://community.qlik.com/t5/QlikView/Why-to-give-negative-value-in-FirstSortedValue/m-p/815316#M1020823</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;Why to give negative sign for &lt;SPAN style="font-size: 13.3333330154419px;"&gt;HIREDATE&lt;/SPAN&gt; in FirstSortedValue function.&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1427683279242415" jivemacro_uid="_1427683279242415"&gt;
&lt;P&gt;Expression: FirstSortedValue(SAL, -HIREDATE)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 02:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-to-give-negative-value-in-FirstSortedValue/m-p/815316#M1020823</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-03-30T02:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why to give negative value in FirstSortedValue</title>
      <link>https://community.qlik.com/t5/QlikView/Why-to-give-negative-value-in-FirstSortedValue/m-p/815317#M1020824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 2nd arguement provides the field to sort. The sort order is always ascending. So if you want to sort in descending order (so that you get the most recent date first) , then just put a negative in front of the 2nd argument. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If HireDate is recognized by qlik as a date field it will sort it numerically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 03:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-to-give-negative-value-in-FirstSortedValue/m-p/815317#M1020824</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-03-30T03:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why to give negative value in FirstSortedValue</title>
      <link>https://community.qlik.com/t5/QlikView/Why-to-give-negative-value-in-FirstSortedValue/m-p/815318#M1020825</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;Why negative sign in first sorted value is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BY PRECEDING THE SORT VALUE EXPRESSION WITH THE "MINUS SIGN", THE FUNCTION WILL&amp;nbsp; RETURNS THE HIGHEST VALUE.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 04:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-to-give-negative-value-in-FirstSortedValue/m-p/815318#M1020825</guid>
      <dc:creator />
      <dc:date>2015-03-30T04:09:50Z</dc:date>
    </item>
  </channel>
</rss>

