<?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: Showing the latest record in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Showing-the-latest-record/m-p/428570#M159743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want just one value (the max) use Max in your expression or when you load data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2013 12:34:38 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2013-02-12T12:34:38Z</dc:date>
    <item>
      <title>Showing the latest record</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-the-latest-record/m-p/428569#M159742</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;I want to display the customer record with the latest date on a chart/table.Please assist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 554px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" width="80"&gt;CustomerID&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none;" width="117"&gt;Address1&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none;" width="72"&gt;Address2&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none;" width="88"&gt;City&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none;" width="49"&gt;Code &lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none;" width="148"&gt;Address_Change_Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: medium none;"&gt;123&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;"&gt;12 kloof rd&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;"&gt;Newcastle&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;"&gt;New Zealand&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;26541&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;01/01/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: medium none;"&gt;123&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;"&gt;5 Frey Street &lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;"&gt;Bradys&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;"&gt;Toronto&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;"&gt;000123&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;06/05/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: medium none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;123&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;45 Lombardy road&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Lombardy&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Kimberly&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;56230&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;01/02/2013&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: medium none;"&gt;46&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;"&gt;20 Leeds Street&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;"&gt;Faya&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;"&gt;Brazil&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;569874&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: medium none; border-top: medium none;"&gt;05/08/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: medium none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;46&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;12 Gorg rd&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Merid&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Canada&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;69656&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;01/05/2012&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 12:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-the-latest-record/m-p/428569#M159742</guid>
      <dc:creator />
      <dc:date>2013-02-12T12:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Showing the latest record</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-the-latest-record/m-p/428570#M159743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want just one value (the max) use Max in your expression or when you load data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 12:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-the-latest-record/m-p/428570#M159743</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-02-12T12:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Showing the latest record</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-the-latest-record/m-p/428571#M159744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the firstsortedvalue function. See attached example. You'll have to make sure no customer id's have two records for the same date though or firstsortedvalue will return a null. So if you have a customer that changes addresses twice (or more) on the same day you're out of luck. There's no way to determine which is the record the right one then.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 12:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-the-latest-record/m-p/428571#M159744</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-12T12:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Showing the latest record</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-the-latest-record/m-p/428572#M159745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately some of my records have same dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 12:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-the-latest-record/m-p/428572#M159745</guid>
      <dc:creator />
      <dc:date>2013-02-12T12:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Showing the latest record</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-the-latest-record/m-p/428573#M159746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you load data, let's suppose that the name of the field is myData, add &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Select &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max(myData) as Maxim&lt;/P&gt;&lt;P&gt;from myTable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where Key is the key of the table from wich you actually exctract the field data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way your original table ill have a new colunmn containing always max value.&lt;/P&gt;&lt;P&gt;This metod let you compute even other dates for examnple by year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 13:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-the-latest-record/m-p/428573#M159746</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-02-12T13:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Showing the latest record</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-the-latest-record/m-p/428574#M159747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same dates for one customer and the dates do not have time.That is why it showing nothing with the firstsortedvalue function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 06:29:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-the-latest-record/m-p/428574#M159747</guid>
      <dc:creator />
      <dc:date>2013-02-13T06:29:48Z</dc:date>
    </item>
  </channel>
</rss>

