<?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 Dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates/m-p/305826#M112941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi All &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how i can work this out...If I am woking with products is there a way I can indicate on QV when the last sale of a product took place??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jun 2011 11:24:02 GMT</pubDate>
    <dc:creator>stevietm</dc:creator>
    <dc:date>2011-06-21T11:24:02Z</dc:date>
    <item>
      <title>Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/305826#M112941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi All &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how i can work this out...If I am woking with products is there a way I can indicate on QV when the last sale of a product took place??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 11:24:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/305826#M112941</guid>
      <dc:creator>stevietm</dc:creator>
      <dc:date>2011-06-21T11:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/305827#M112942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can create one listbox for product and another list box for 'sale date', then sort the sale date listbox in descending order.Now, when you select a product in the product listbox, the first line in the sale date list box will give you last sale of that product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 11:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/305827#M112942</guid>
      <dc:creator />
      <dc:date>2011-06-21T11:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/305828#M112943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends on the object you are working with, but the following expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;FirstSortedValue(Product, -Date)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should return the correct Product value for the last Date. You can use this function in both the script (you will need to group by) or in a chart (it will depend on your dimensions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 11:33:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/305828#M112943</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-06-21T11:33:35Z</dc:date>
    </item>
    <item>
      <title>Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/305829#M112944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hey Miguel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is working but my date key is my dimention it gives the correct awnser that i what but it gives all the dates that the product was sold at...But i only want the last date that the product was sold at like product 1 was sold at 2011/10/02, product 2 was sold at 2009/02/17 that expression you gave me works but returns all dates that, that 1 product was sold at...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Stevie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 13:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/305829#M112944</guid>
      <dc:creator>stevietm</dc:creator>
      <dc:date>2011-06-22T13:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/305830#M112945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stevie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at &lt;A _jive_internal="true" href="https://community.qlik.com/message/124701"&gt;this post&lt;/A&gt;. Not knowing your data model better, it's another approach I can think of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jun 2011 07:53:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/305830#M112945</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-06-25T07:53:30Z</dc:date>
    </item>
  </channel>
</rss>

