<?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 select a specific row in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-select-a-specific-row/m-p/567986#M211793</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Smitha,&lt;/P&gt;&lt;P&gt;Are you trying to obtain the latest date for a specific or for each record? You may be able to try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table_MaxDate:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Date)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS MaxDate&lt;/P&gt;&lt;P&gt;Resident Table&lt;/P&gt;&lt;P&gt;Group By Field;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This resulting table will give you the max date for each record. Note, if you're using an aggregation function like Max() that you'll need to group by any field in your load that you are not aggregating.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Feb 2014 04:36:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-02-26T04:36:15Z</dc:date>
    <item>
      <title>How to select a specific row</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-a-specific-row/m-p/567983#M211790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table that has multiple dates for a given record and I would like to select the row with the latest date in the load script. Can I use the peek function to achieve this? I need some help with the syntax.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Smitha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 22:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-a-specific-row/m-p/567983#M211790</guid>
      <dc:creator />
      <dc:date>2014-02-25T22:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a specific row</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-a-specific-row/m-p/567984#M211791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Smitha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstSortedValue(RecordID, -date_column) in load script will select the lastest value of date_column per RecordID. Note "-" before date_column to return last instead of first value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lukasz &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 22:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-a-specific-row/m-p/567984#M211791</guid>
      <dc:creator />
      <dc:date>2014-02-25T22:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a specific row</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-a-specific-row/m-p/567985#M211792</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;WHERE Flag = 1;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;RecordNumber,&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;If(Previous(RecordNumber) &amp;lt;&amp;gt; RecordNumber, 1, 0) AS Flag&lt;/P&gt;&lt;P&gt;FROM DataSource&lt;/P&gt;&lt;P&gt;ORDER BY RecordNumber, Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 02:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-a-specific-row/m-p/567985#M211792</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-02-26T02:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a specific row</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-a-specific-row/m-p/567986#M211793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Smitha,&lt;/P&gt;&lt;P&gt;Are you trying to obtain the latest date for a specific or for each record? You may be able to try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table_MaxDate:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Date)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS MaxDate&lt;/P&gt;&lt;P&gt;Resident Table&lt;/P&gt;&lt;P&gt;Group By Field;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This resulting table will give you the max date for each record. Note, if you're using an aggregation function like Max() that you'll need to group by any field in your load that you are not aggregating.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 04:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-a-specific-row/m-p/567986#M211793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-26T04:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to select a specific row</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-a-specific-row/m-p/567987#M211794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You've got a few answers, I'll throw mine in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Final:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RecordID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Date)&amp;nbsp; AS Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;From &lt;EM&gt;Source&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Group By &lt;SPAN style="color: #3d3d3d;"&gt;RecordID&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;INNER JOIN(&lt;SPAN style="color: #3d3d3d;"&gt;Final&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD *&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM &lt;EM&gt;Source&lt;/EM&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-Rob&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 04:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-a-specific-row/m-p/567987#M211794</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-02-26T04:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a specific row</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-a-specific-row/m-p/567988#M211795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;... and I would do exactly the same as Rob. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 07:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-a-specific-row/m-p/567988#M211795</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-02-26T07:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to select a specific row</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-a-specific-row/m-p/567989#M211796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried Rob's method and it worked perfectly! Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 14:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-a-specific-row/m-p/567989#M211796</guid>
      <dc:creator />
      <dc:date>2014-02-26T14:07:46Z</dc:date>
    </item>
  </channel>
</rss>

