<?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: How to get just a single record from set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-just-a-single-record-from-set-analysis/m-p/914486#M317218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would recommend using FirstSortedValue() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=&lt;SPAN style="color: #ff0000;"&gt;FirstSortedValue&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;({$&amp;lt;[LocationId] = {$(=$(vSoiledRoom1))}, [Scope State] = {"null"}&amp;gt;}[Scope Name], &lt;SPAN style="color: #ff0000;"&gt;-Date&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2015 01:51:19 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-08-07T01:51:19Z</dc:date>
    <item>
      <title>How to get just a single record from set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-just-a-single-record-from-set-analysis/m-p/914485#M317217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a data model with 3 tables:&amp;nbsp; Scope, ScopeStatus, and Location where ScopeStatus has a ScopeId and a LocationId which joins the three tables together.&amp;nbsp; A location can hold multiple scopes.&amp;nbsp; ScopeStatus also has a TimeEnteredLocation property.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display only the last Scope that entered the Location.&amp;nbsp; I have a similar piece of code which displays a list of all of the Scopes at a Location but I can't quite figure out the logic to get only the last Scope that entered the Location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Concat({$&amp;lt;[LocationId] = {$(=$(vSoiledRoom1))}, [Scope State] = {"null"}&amp;gt;}[Scope Name], Chr(10))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 22:54:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-just-a-single-record-from-set-analysis/m-p/914485#M317217</guid>
      <dc:creator />
      <dc:date>2015-08-06T22:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get just a single record from set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-just-a-single-record-from-set-analysis/m-p/914486#M317218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would recommend using FirstSortedValue() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=&lt;SPAN style="color: #ff0000;"&gt;FirstSortedValue&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;({$&amp;lt;[LocationId] = {$(=$(vSoiledRoom1))}, [Scope State] = {"null"}&amp;gt;}[Scope Name], &lt;SPAN style="color: #ff0000;"&gt;-Date&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 01:51:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-just-a-single-record-from-set-analysis/m-p/914486#M317218</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-07T01:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get just a single record from set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-just-a-single-record-from-set-analysis/m-p/914487#M317219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recommended FirstSortedValue with -Date, because that is how I assumed you would find the latest scope. If there is another way to determine latest scope, you might need to replace Date with that field &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 02:18:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-just-a-single-record-from-set-analysis/m-p/914487#M317219</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-07T02:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get just a single record from set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-just-a-single-record-from-set-analysis/m-p/914488#M317220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny T,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This method did the trick.&amp;nbsp; Is there a reference guide available where I can look up functions like this?&amp;nbsp; I find bits and pieces but much of the time I do not know the proper phrase to search to get the results I want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 12:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-just-a-single-record-from-set-analysis/m-p/914488#M317220</guid>
      <dc:creator />
      <dc:date>2015-08-07T12:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to get just a single record from set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-just-a-single-record-from-set-analysis/m-p/914489#M317221</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;very helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 12:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-just-a-single-record-from-set-analysis/m-p/914489#M317221</guid>
      <dc:creator />
      <dc:date>2015-08-07T12:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to get just a single record from set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-just-a-single-record-from-set-analysis/m-p/914490#M317222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Fred,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use help section in Qlikview developer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Neetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 12:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-just-a-single-record-from-set-analysis/m-p/914490#M317222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-07T12:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get just a single record from set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-just-a-single-record-from-set-analysis/m-p/914491#M317223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From QlikView's help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/95346_Capture.PNG" style="height: 163px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other related function attached as a PDF (from QlikView's help also)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 12:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-just-a-single-record-from-set-analysis/m-p/914491#M317223</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-07T12:41:57Z</dc:date>
    </item>
  </channel>
</rss>

