<?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 or Similar? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Similar/m-p/409665#M152342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me regrading FirstsortedValue or something similar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently trying to get the latest meter readings using FirstSortedValue as follows, based on a key i've created which is made up of&amp;nbsp; Date&amp;amp;''&amp;amp;Time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstSortedValue(Meter_Read, -Key, 1)&lt;/P&gt;&lt;P&gt;FirstSortedValue(Meter_Read, -Key, 2)&lt;/P&gt;&lt;P&gt;FirstSortedValue(Meter_Read, -Key, 3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get the subsequent read. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is when the two keys are the same, qlikview does not bring any data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way to solve this issue please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Nov 2012 09:01:09 GMT</pubDate>
    <dc:creator>buddhabang</dc:creator>
    <dc:date>2012-11-07T09:01:09Z</dc:date>
    <item>
      <title>FirstSortedValue or Similar?</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Similar/m-p/409665#M152342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me regrading FirstsortedValue or something similar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently trying to get the latest meter readings using FirstSortedValue as follows, based on a key i've created which is made up of&amp;nbsp; Date&amp;amp;''&amp;amp;Time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstSortedValue(Meter_Read, -Key, 1)&lt;/P&gt;&lt;P&gt;FirstSortedValue(Meter_Read, -Key, 2)&lt;/P&gt;&lt;P&gt;FirstSortedValue(Meter_Read, -Key, 3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get the subsequent read. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is when the two keys are the same, qlikview does not bring any data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way to solve this issue please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 09:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Similar/m-p/409665#M152342</guid>
      <dc:creator>buddhabang</dc:creator>
      <dc:date>2012-11-07T09:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue or Similar?</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Similar/m-p/409666#M152343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use DISTINCT qualifier to get a result, the first in load order AFAIR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstSortedValue(DISTINCT Meter_Read, -Key, 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or try creating your own sort order for equal keys by adding some small values depending in other fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 09:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Similar/m-p/409666#M152343</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-11-07T09:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue or Similar?</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Similar/m-p/409667#M152344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Swuehl, i used distinct and it worked like a peach. Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 10:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-or-Similar/m-p/409667#M152344</guid>
      <dc:creator>buddhabang</dc:creator>
      <dc:date>2012-11-07T10:16:52Z</dc:date>
    </item>
  </channel>
</rss>

