<?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: FirstSorted Value is Null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FirstSorted-Value-is-Null/m-p/1176190#M381744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two solutions&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use Distinct as previous answers&lt;/LI&gt;&lt;LI&gt;Use a second expression to untie the sorting eg: &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FirstSortedValue( Dimension, Expression + AnotherExpression/10000)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 May 2016 11:14:47 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2016-05-31T11:14:47Z</dc:date>
    <item>
      <title>FirstSorted Value is Null</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSorted-Value-is-Null/m-p/1176187#M381741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometimes this is a drawback for the FirstSortedValue function: "&lt;EM&gt;If more than one value of expression share the same lowest &lt;SPAN class="Italic"&gt;sort-order&lt;/SPAN&gt;, the function will return null&lt;/EM&gt;."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even where an expression has a single repeated value, it can be useful to have this value returned as the first entry, instead on Null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tips on a neat and easy way of doing this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 10:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSorted-Value-is-Null/m-p/1176187#M381741</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2016-05-31T10:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSorted Value is Null</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSorted-Value-is-Null/m-p/1176188#M381742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use DISTINCT within FirstSortedValue() to show one of them, but to see both you might need to use Aggr() function together with FirstSortedValue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 11:00:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSorted-Value-is-Null/m-p/1176188#M381742</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-31T11:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSorted Value is Null</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSorted-Value-is-Null/m-p/1176189#M381743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FirstSortedValue(Distinct Dimension, Expression)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 11:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSorted-Value-is-Null/m-p/1176189#M381743</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-31T11:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSorted Value is Null</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSorted-Value-is-Null/m-p/1176190#M381744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two solutions&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use Distinct as previous answers&lt;/LI&gt;&lt;LI&gt;Use a second expression to untie the sorting eg: &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FirstSortedValue( Dimension, Expression + AnotherExpression/10000)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 11:14:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSorted-Value-is-Null/m-p/1176190#M381744</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-05-31T11:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSorted Value is Null</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSorted-Value-is-Null/m-p/1176191#M381745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;I wasn't aware that DISTINCT could be used here - I was relying on interactive help which doesn't show it as an option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 11:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSorted-Value-is-Null/m-p/1176191#M381745</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2016-05-31T11:14:51Z</dc:date>
    </item>
  </channel>
</rss>

