<?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: Finding first date in table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finding-first-date-in-table/m-p/352843#M130932</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 ysing the function FirstSortedValue() and Min() to get the first date (lowest date) where the sales rep met the customer.&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;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2012 11:27:35 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2012-06-14T11:27:35Z</dc:date>
    <item>
      <title>Finding first date in table</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-first-date-in-table/m-p/352841#M130930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table of sales reps, their customers, and the dates they met with the customers. A sales rep can meet a customer many times, e.g.&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;SalesRep&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Customer&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;Meeting Date&lt;BR /&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jack&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;1/4/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jack&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1/20/2012&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jill&lt;/TD&gt;&lt;TD&gt;XYZ&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;2/6/2012&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jill&lt;/TD&gt;&lt;TD&gt;XYZ&lt;/TD&gt;&lt;TD&gt;2/7/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jack&lt;/TD&gt;&lt;TD&gt;DEF&lt;/TD&gt;&lt;TD&gt;1/11/2012&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I want to find the first date each rep met with each customer. Eg. Jack, ABC, 1/4/2012, Jill, XYZ, 2/6/2012, Jack, DEF, 1/11/2012. I tried "min(meetingdate)", but it returns a value for each meeting. I tried firstsortedvalue(meetingdate,customer), but that didn't return anything (e.g. all results were "-"). Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 10:49:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-first-date-in-table/m-p/352841#M130930</guid>
      <dc:creator />
      <dc:date>2012-06-14T10:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Finding first date in table</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-first-date-in-table/m-p/352842#M130931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;im not sure what youre trying to achive here,&lt;/P&gt;&lt;P&gt;but i think that if at data extraction phase you will do somthing like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'select distinct salesrep, customer, min(meeting date) from....'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should work.... no?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 11:02:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-first-date-in-table/m-p/352842#M130931</guid>
      <dc:creator />
      <dc:date>2012-06-14T11:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Finding first date in table</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-first-date-in-table/m-p/352843#M130932</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 ysing the function FirstSortedValue() and Min() to get the first date (lowest date) where the sales rep met the customer.&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;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 11:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-first-date-in-table/m-p/352843#M130932</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-06-14T11:27:35Z</dc:date>
    </item>
  </channel>
</rss>

