<?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 First date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/First-date/m-p/186399#M50498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have a table with delivered items. Same item number can be delivered in different dates, but I want to know first delivery date.&lt;/P&gt;&lt;P&gt;In the Data table below there's three different item numbers, with different delivery dates, and delivered quantity per date.&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" src="https://community.qlik.com/resized-image.ashx/__size/300x300/__key/CommunityServer.Discussions.Components.Files/11/4834.table.jpg" /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;From this I'd like to view the first delivery date for each Item no.&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" src="https://community.qlik.com/resized-image.ashx/__size/300x300/__key/CommunityServer.Discussions.Components.Files/11/8154.result.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried FirstSortedValue, but without success.&lt;/P&gt;&lt;P&gt;Is there anyone who has an idea how to do this?&lt;/P&gt;&lt;P&gt;//Johan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Sep 2010 16:16:08 GMT</pubDate>
    <dc:creator>bengan74</dc:creator>
    <dc:date>2010-09-02T16:16:08Z</dc:date>
    <item>
      <title>First date</title>
      <link>https://community.qlik.com/t5/QlikView/First-date/m-p/186399#M50498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have a table with delivered items. Same item number can be delivered in different dates, but I want to know first delivery date.&lt;/P&gt;&lt;P&gt;In the Data table below there's three different item numbers, with different delivery dates, and delivered quantity per date.&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" src="https://community.qlik.com/resized-image.ashx/__size/300x300/__key/CommunityServer.Discussions.Components.Files/11/4834.table.jpg" /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;From this I'd like to view the first delivery date for each Item no.&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" src="https://community.qlik.com/resized-image.ashx/__size/300x300/__key/CommunityServer.Discussions.Components.Files/11/8154.result.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried FirstSortedValue, but without success.&lt;/P&gt;&lt;P&gt;Is there anyone who has an idea how to do this?&lt;/P&gt;&lt;P&gt;//Johan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 16:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-date/m-p/186399#M50498</guid>
      <dc:creator>bengan74</dc:creator>
      <dc:date>2010-09-02T16:16:08Z</dc:date>
    </item>
    <item>
      <title>First date</title>
      <link>https://community.qlik.com/t5/QlikView/First-date/m-p/186400#M50499</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;Here's something you can try: In your scrit, when you're loading the table use SORT BY &lt;I&gt;Date&lt;/I&gt; ASC; in the end of the loading part&lt;/P&gt;&lt;P&gt;That way your table will be sorted from old to new. Then in the report just "call" the first occurence of that product in the field Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 16:43:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-date/m-p/186400#M50499</guid>
      <dc:creator>villafuerte</dc:creator>
      <dc:date>2010-09-02T16:43:25Z</dc:date>
    </item>
    <item>
      <title>First date</title>
      <link>https://community.qlik.com/t5/QlikView/First-date/m-p/186401#M50500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;If your input table is created like:&lt;/P&gt;&lt;P&gt;Table_Temp:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; ITEM_NO, DELIVERY_DATE, QTY&lt;BR /&gt; 10,2010-07-31,10&lt;BR /&gt; 10,2010-08-01,15&lt;BR /&gt; 10,2010-08-02,5&lt;BR /&gt; 20,2010-08-15,10&lt;BR /&gt; 20,2010-08-16,26&lt;BR /&gt; 20,2010-08-17,30&lt;BR /&gt; 30,2010-08-04,20&lt;BR /&gt; 30,2010-08-05,25&lt;BR /&gt; 30,2010-08-06,30&lt;BR /&gt; ];&lt;/P&gt;&lt;P&gt;You could create a chart with ITEM_NO as the dimension and MIN(DELIVERY_DATE) as the expression.&lt;/P&gt;&lt;P&gt;Let me know if this is what you are looking for.&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 16:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-date/m-p/186401#M50500</guid>
      <dc:creator>john_duffy</dc:creator>
      <dc:date>2010-09-02T16:43:41Z</dc:date>
    </item>
    <item>
      <title>First date</title>
      <link>https://community.qlik.com/t5/QlikView/First-date/m-p/186402#M50501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked like a charm! Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 07:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-date/m-p/186402#M50501</guid>
      <dc:creator>bengan74</dc:creator>
      <dc:date>2010-09-10T07:32:14Z</dc:date>
    </item>
  </channel>
</rss>

