<?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/1149893#M916639</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;see the below link for reference&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/30532"&gt;FirstSortedValue()&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 May 2016 05:55:14 GMT</pubDate>
    <dc:creator>ankit777</dc:creator>
    <dc:date>2016-05-16T05:55:14Z</dc:date>
    <item>
      <title>First Sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-value/m-p/1149892#M916638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is First Sorted Value ? How it will work Share me with Example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mahesh. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-value/m-p/1149892#M916638</guid>
      <dc:creator>qlikview979</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-value/m-p/1149893#M916639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;see the below link for reference&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/30532"&gt;FirstSortedValue()&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 05:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-value/m-p/1149893#M916639</guid>
      <dc:creator>ankit777</dc:creator>
      <dc:date>2016-05-16T05:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-value/m-p/1149894#M916640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check Help? That is the best place to know about the functions. Check that and then search this community, you would get many useful discussions like: &lt;A href="https://community.qlik.com/docs/DOC-9265"&gt;Firstsortedvalue Vs FirstValue Example&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 05:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-value/m-p/1149894#M916640</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-05-16T05:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-value/m-p/1149895#M916641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow the reference manual.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 05:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-value/m-p/1149895#M916641</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2016-05-16T05:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-value/m-p/1149896#M916642</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;Can you&amp;nbsp; give with Example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mahesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 08:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-value/m-p/1149896#M916642</guid>
      <dc:creator>qlikview979</dc:creator>
      <dc:date>2016-05-16T08:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-value/m-p/1149897#M916643</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;A href="https://community.qlik.com/docs/DOC-6907"&gt;Using FirstSortedValue in the Script&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 08:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-value/m-p/1149897#M916643</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-05-16T08:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-value/m-p/1149898#M916644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-size: 1.714em; margin: 0 0 10px; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;FirstSortedValue - chart function&lt;/H1&gt;&lt;P style="font-size: 14px; margin: 10px 0; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;FirstSortedValue()&lt;/SPAN&gt; returns the value from the expression specified in &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;value&lt;/SPAN&gt; that corresponds to the result of sorting the &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;sort_weight&lt;/SPAN&gt; argument, taking into account &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;rank&lt;/SPAN&gt;, if specified. If more than one resulting value shares the same &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;sort_weight&lt;/SPAN&gt; for the specified &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;rank&lt;/SPAN&gt;, the function returns &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;NULL&lt;/SPAN&gt;.&lt;/P&gt;&lt;P class="syntax_heading" data-mc-autonum="Syntax: " style="font-size: 14px; margin: 10px 0; font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;SPAN class="autonumber"&gt;Syntax: &lt;/SPAN&gt; &lt;/P&gt;&lt;P class="syntax" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; margin: 10px 0; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f; background-color: #f4f4f4;"&gt;FirstSortedValue([{SetExpression}] [DISTINCT] [TOTAL [&amp;lt;fld {,fld}&amp;gt;]] value, sort_weight [,rank])&lt;/P&gt;&lt;P class="return_type" data-mc-autonum="Return data type: " style="font-size: 14px; margin: 10px 0; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;SPAN class="autonumber" style="font-weight: bold;"&gt;Return data type: &lt;/SPAN&gt;dual&lt;/P&gt;&lt;P class="arguments" data-mc-autonum="Arguments: " style="font-size: 14px; margin: 10px 0; font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;SPAN class="autonumber"&gt;Arguments: &lt;/SPAN&gt; &lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-tableGrid" style="margin-bottom: 15px; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;&lt;THEAD style="border-top-width: 2px; border-top-style: solid; border-top-color: #0f0f0f;"&gt;&lt;TR class="Head-Header1"&gt;&lt;TH class="HeadI--" style="padding: 5px 7px;"&gt;Argument&lt;/TH&gt;&lt;TH class="HeadG--" style="padding: 5px 7px;"&gt;Description&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="border-top-width: 2px; border-top-color: #0f0f0f;"&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" data-mc-conditions="Primary.NotToTranslate" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;value&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;Output field. The function finds the value of the expression &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;value&lt;/SPAN&gt; that corresponds to the result of sorting &lt;SPAN class="statement" style="font-weight: bold;"&gt;sort_weight&lt;/SPAN&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" data-mc-conditions="Primary.NotToTranslate" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;sort_weight&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;Input field. The expression containing the data to be sorted. The first (lowest) value of&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;sort_weight&lt;/SPAN&gt; is found, from which the corresponding value of the &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;value&lt;/SPAN&gt; expression is determined. If you place a minus sign in front of &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;sort_weight&lt;/SPAN&gt;, the function returns the last (highest) sorted value instead.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" data-mc-conditions="Primary.NotToTranslate" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;rank&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;By stating a &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;rank&lt;/SPAN&gt; "n" larger than 1, you get the nth sorted value.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" data-mc-conditions="Primary.NotToTranslate" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;SetExpression&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;By default, the aggregation function will aggregate over the set of possible records defined by the selection. An alternative set of records can be defined by a set analysis expression.&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" data-mc-conditions="Primary.NotToTranslate" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;DISTINCT&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;If the word &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;DISTINCT&lt;/SPAN&gt; occurs before the function arguments, duplicates resulting from the evaluation of the function arguments are disregarded.&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyC--" data-mc-conditions="Primary.NotToTranslate" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;TOTAL&lt;/TD&gt;&lt;TD class="BodyA--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;If the word &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;TOTAL&lt;/SPAN&gt; occurs before the function arguments, the calculation is made over all possible values given the current selections, and not just those that pertain to the current dimensional value, that is, it disregards the chart dimensions.&lt;/P&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;The &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;TOTAL&lt;/SPAN&gt; qualifier may be followed by a list of one or more field names within angle brackets &amp;lt;fld&amp;gt;. These field names should be a subset of the chart dimension variables.&lt;/P&gt;&lt;P class="see_also_inline" data-mc-autonum="See: " data-mc-conditions="Primary.HTML5Only" style="font-size: inherit; margin: 0 0 5px;"&gt;&lt;SPAN class="autonumber" style="font-weight: bold;"&gt;See: &lt;/SPAN&gt;&lt;A class="xref MCXref" href="https://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/ChartFunctions/define-aggregation-scope.htm" style="color: #007fca;"&gt;Defining the aggregation scope&lt;/A&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P class="examples_results" data-mc-autonum="Examples and results: " style="font-size: 14px; margin: 10px 0; font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;SPAN class="autonumber"&gt;Examples and results: &lt;/SPAN&gt; &lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-ZebraTable" style="margin-bottom: 15px; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; margin-right: auto;"&gt;&lt;THEAD style="border-top-width: 2px; border-top-style: solid; border-top-color: #0f0f0f;"&gt;&lt;TR data-mc-conditions="Primary.NotToTranslate"&gt;&lt;TH class="TableStyle-ZebraTable-HeadI--" style="padding: 5px 7px;"&gt;Customer&lt;/TH&gt;&lt;TH class="TableStyle-ZebraTable-HeadI--" style="padding: 5px 7px;"&gt;Product&lt;/TH&gt;&lt;TH class="TableStyle-ZebraTable-HeadI--" style="padding: 5px 7px;"&gt;UnitSales&lt;/TH&gt;&lt;TH class="TableStyle-ZebraTable-HeadG--" style="padding: 5px 7px;"&gt;UnitPrice&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="border-top-width: 2px; border-top-color: #0f0f0f;"&gt;&lt;TR class="TableStyle-ZebraTable-Body-Body1" data-mc-conditions="Primary.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body1" style="padding: 7px;"&gt;Astrida&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body1" style="padding: 7px;"&gt;AA&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body1" style="padding: 7px;"&gt;4&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyD--Body1" style="padding: 7px;"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="TableStyle-ZebraTable-Body-Body2" data-mc-conditions="Primary.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body2" style="padding: 7px;"&gt;Astrida&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body2" style="padding: 7px;"&gt;AA&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body2" style="padding: 7px;"&gt;10&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyD--Body2" style="padding: 7px;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="TableStyle-ZebraTable-Body-Body1" data-mc-conditions="Primary.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body1" style="padding: 7px;"&gt;Astrida&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body1" style="padding: 7px;"&gt;BB&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body1" style="padding: 7px;"&gt;9&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyD--Body1" style="padding: 7px;"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="TableStyle-ZebraTable-Body-Body2" data-mc-conditions="Primary.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body2" style="padding: 7px;"&gt;Betacab&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body2" style="padding: 7px;"&gt;BB&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body2" style="padding: 7px;"&gt;5&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyD--Body2" style="padding: 7px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="TableStyle-ZebraTable-Body-Body1" data-mc-conditions="Primary.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body1" style="padding: 7px;"&gt;Betacab&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body1" style="padding: 7px;"&gt;CC&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body1" style="padding: 7px;"&gt;2&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyD--Body1" style="padding: 7px;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="TableStyle-ZebraTable-Body-Body2" data-mc-conditions="Primary.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body2" style="padding: 7px;"&gt;Betacab&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body2" style="padding: 7px;"&gt;DD&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body2" style="padding: 7px;"&gt;-&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyD--Body2" style="padding: 7px;"&gt;25&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="TableStyle-ZebraTable-Body-Body1" data-mc-conditions="Primary.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body1" style="padding: 7px;"&gt;Canutility&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body1" style="padding: 7px;"&gt;AA&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyF--Body1" style="padding: 7px;"&gt;8&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyD--Body1" style="padding: 7px;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="TableStyle-ZebraTable-Body-Body2" data-mc-conditions="Primary.NotToTranslate" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="TableStyle-ZebraTable-BodyC--Body2" style="padding: 7px;"&gt;Canutility&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyC--Body2" style="padding: 7px;"&gt;CC&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyC--Body2" style="padding: 7px;"&gt;-&lt;/TD&gt;&lt;TD class="TableStyle-ZebraTable-BodyA--Body2" style="padding: 7px;"&gt;19&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE cellspacing="0" class="TableStyle-tableGrid" style="margin: 40px auto 15px 0; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;&lt;THEAD style="border-top-width: 2px; border-top-style: solid; border-top-color: #0f0f0f;"&gt;&lt;TR class="Head-Header1"&gt;&lt;TH class="HeadI--" style="padding: 5px 7px;"&gt;Example&lt;/TH&gt;&lt;TH class="HeadG--" style="padding: 5px 7px;"&gt;Result&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="border-top-width: 2px; border-top-color: #0f0f0f;"&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;firstsortedvalue (Product, UnitPrice)&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;BB, which is the &lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;Product&lt;/SPAN&gt;with the lowest &lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;UnitPrice&lt;/SPAN&gt;(9).&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;firstsortedvalue (Product, UnitPrice, 2)&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;BB, which is the &lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;Product&lt;/SPAN&gt;with the second-lowest &lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;UnitPrice&lt;/SPAN&gt;(10).&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;firstsortedvalue (Customer, -UnitPrice, 2)&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;Betacab, which is the &lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;Customer&lt;/SPAN&gt;with the &lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;Product&lt;/SPAN&gt; that has second-highest&lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;UnitPrice&lt;/SPAN&gt;(20).&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;firstsortedvalue (Customer, UnitPrice, 3)&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;NULL, because there are two values of &lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;Customer&lt;/SPAN&gt; (Astrida and Canutility) with the same&lt;SPAN data-mc-conditions="Primary.NotToTranslate"&gt;rank&lt;/SPAN&gt; (third-lowest) &lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;UnitPrice&lt;/SPAN&gt;(15).&lt;/P&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;Use the distinct qualifier to make sure unexpected null results do not occur.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyC--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;firstsortedvalue (Customer, -UnitPrice*UnitSales, 2)&lt;/TD&gt;&lt;TD class="BodyA--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;P style="font-size: inherit; margin: 0 0 5px;"&gt;Canutility, which is the &lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;Customer&lt;/SPAN&gt; with the second-highest sales order value &lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;UnitPrice&lt;/SPAN&gt; multiplied by &lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;UnitSales&lt;/SPAN&gt; (120).&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="font-size: 14px; margin: 10px 0; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;STRONG&gt;Data used in examples:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;ProductData:&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;LOAD * inline [&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;Customer|Product|UnitSales|UnitPrice&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;Astrida|AA|4|16&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;Astrida|AA|10|15&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;Astrida|BB|9|9&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;Betacab|BB|5|10&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;Betacab|CC|2|20&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;Betacab|DD||25&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;Canutility|AA|8|15&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;Canutility|CC||19&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;] (delimiter is '|');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 08:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-value/m-p/1149898#M916644</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-16T08:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-value/m-p/1149899#M916645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk dis too&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.0/search/?filter=&amp;amp;q=FirstSortedValue%28%29+" title="http://help.qlik.com/en-US/qlikview/12.0/search/?filter=&amp;amp;q=FirstSortedValue%28%29+"&gt;Home ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 08:20:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-value/m-p/1149899#M916645</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-05-16T08:20:05Z</dc:date>
    </item>
  </channel>
</rss>

