<?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: Getting Last Record in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-Last-Record/m-p/924529#M320000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;salut Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Je ne sais pas si ta demande est toujours d'actualité mais tu veux ça:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/108239_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Tu peux le faire ainsi :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/108240_Capture2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Et dans ton tableau avec Queue en dimension, l'expression suivante de donnera la valeur par Queue de la date max :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture3.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/108241_Capture3.PNG" style="height: 409px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Cordialement,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Florent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Dec 2015 13:08:49 GMT</pubDate>
    <dc:creator>flochi75</dc:creator>
    <dc:date>2015-12-07T13:08:49Z</dc:date>
    <item>
      <title>Getting Last Record</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Last-Record/m-p/924528#M319999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have Excel data that records inventory levels of various work queues.&amp;nbsp; We are trying to create a series of QlikView gauges that display the ending inventory for the latest date posted for each of the queues.&amp;nbsp; In general the data looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;TransDate&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Queue&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;StartingInv&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;EndingInv&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1/11/15&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Queue1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;987&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1/12/15&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Queue1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;987&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;484&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1/13/15&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Queue1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;484&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;528&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1/11/15&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Queue2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8965&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8709&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1/12/15&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Queue2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8709&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8488&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1/13/15&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Queue2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8488&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1/14/15&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Queue2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8564&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8876&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the first gauge would display (for Queue1) the value of 528 and the second gauge would display (for Queue2) the value of 8876 both representing the latest dates for their respective queues.&amp;nbsp; Wed tried various expressions using PEEK like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; =If(Peek(Queue)='Queue1',Peek([Ending Inv]),-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but were unsuccessful.&amp;nbsp; Any help would be appreciated.&amp;nbsp; Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 19:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Last-Record/m-p/924528#M319999</guid>
      <dc:creator />
      <dc:date>2015-11-17T19:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Last Record</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Last-Record/m-p/924529#M320000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;salut Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Je ne sais pas si ta demande est toujours d'actualité mais tu veux ça:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/108239_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Tu peux le faire ainsi :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/108240_Capture2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Et dans ton tableau avec Queue en dimension, l'expression suivante de donnera la valeur par Queue de la date max :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture3.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/108241_Capture3.PNG" style="height: 409px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Cordialement,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Florent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 13:08:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Last-Record/m-p/924529#M320000</guid>
      <dc:creator>flochi75</dc:creator>
      <dc:date>2015-12-07T13:08:49Z</dc:date>
    </item>
  </channel>
</rss>

